aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Reiter2017-03-05 22:19:20 +0100
committerMarkus Reiter2017-03-05 23:08:15 +0100
commiteed5a69a51966f53068af7117483f9fd681346fa (patch)
tree13d5867932f5b61ce16335e2bb04ab428ba76f77
parent4944d43d580140af94c0b19a7dbb50bb36b7593a (diff)
downloadbrew-eed5a69a51966f53068af7117483f9fd681346fa.tar.bz2
Try fixing coverage.
-rw-r--r--Library/Homebrew/test/spec_helper.rb12
1 files changed, 1 insertions, 11 deletions
diff --git a/Library/Homebrew/test/spec_helper.rb b/Library/Homebrew/test/spec_helper.rb
index af414b145..c8e5cc0f8 100644
--- a/Library/Homebrew/test/spec_helper.rb
+++ b/Library/Homebrew/test/spec_helper.rb
@@ -1,5 +1,4 @@
require "find"
-require "parallel_tests"
require "pathname"
require "rspec/its"
require "rspec/wait"
@@ -10,16 +9,7 @@ if ENV["HOMEBREW_TESTS_COVERAGE"]
if ENV["CODECOV_TOKEN"] || ENV["TRAVIS"]
require "codecov"
-
- if ParallelTests.last_process?
- at_exit do
- ParallelTests.wait_for_other_processes_to_finish
-
- puts "Sending coverage report to CodeCov …"
- formatter = SimpleCov::Formatter::Codecov.new
- formatter.format SimpleCov::ResultMerger.merged_result
- end
- end
+ SimpleCov.formatter = SimpleCov::Formatter::Codecov
end
end