lib/coveralls/configuration.rb in coveralls-0.7.3 vs lib/coveralls/configuration.rb in coveralls-0.7.4

- old
+ new

@@ -14,9 +14,12 @@ config[:repo_token] = yml['repo_token'] || yml['repo_secret_token'] end if ENV['COVERALLS_REPO_TOKEN'] config[:repo_token] = ENV['COVERALLS_REPO_TOKEN'] end + if ENV['COVERALLS_PARALLEL'] && ENV['COVERALLS_PARALLEL'] != "false" + config[:parallel] = true + end if ENV['TRAVIS'] set_service_params_for_travis(config, yml ? yml['service_name'] : nil) elsif ENV['CIRCLECI'] set_service_params_for_circleci(config) elsif ENV['SEMAPHORE']