lib/coveralls/configuration.rb in coveralls-0.8.21 vs lib/coveralls/configuration.rb in coveralls-0.8.22

- old
+ new

@@ -18,9 +18,12 @@ config[:repo_token] = ENV['COVERALLS_REPO_TOKEN'] end if ENV['COVERALLS_PARALLEL'] && ENV['COVERALLS_PARALLEL'] != "false" config[:parallel] = true end + if ENV['COVERALLS_FLAG_NAME'] + config[:flag_name] = ENV['COVERALLS_FLAG_NAME'] + 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']