diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/test/.simplecov | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/test/.simplecov b/Library/Homebrew/test/.simplecov index 012a6275f..eaab7dffa 100644 --- a/Library/Homebrew/test/.simplecov +++ b/Library/Homebrew/test/.simplecov @@ -23,7 +23,9 @@ if ENV["HOMEBREW_INTEGRATION_TEST"] end end -if RUBY_VERSION.split(".").first.to_i >= 2 && !ENV["HOMEBREW_INTEGRATION_TEST"] +# Don't use Coveralls outside of CI, as it will override SimpleCov's default +# formatter causing the `index.html` not to be written once all tests finish. +if RUBY_VERSION.split(".").first.to_i >= 2 && !ENV["HOMEBREW_INTEGRATION_TEST"] && ENV["CI"] require "coveralls" Coveralls.wear! end |
