diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index b43b7c3e1..5bb100f7c 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -2,7 +2,7 @@ # we can't use our helpers here because we need to load the gem _after_ simplecov unless RUBY_ENGINE == 'jruby' && 0 == (JRUBY_VERSION =~ /^9\.0\.0\.0/) - if ENV['COVERAGE'] || ENV['CI'] || ENV['TRAVIS'] + if (ENV['COVERAGE'] || ENV['CI'] || ENV['TRAVIS']) && !ENV['NO_COVERAGE'] require 'simplecov' require 'coveralls'