.simplecov in nested_config-0.5.0 vs .simplecov in nested_config-0.6.0
- old
+ new
@@ -1,7 +1,9 @@
-require 'simplecov-rcov'
+if ENV['COVERAGE']
+ require 'simplecov-rcov'
-SimpleCov.coverage_dir "tmp/coverage"
-SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter if ENV['CI']
-SimpleCov.start do
- add_filter '/test/'
+ SimpleCov.coverage_dir "tmp/coverage"
+ SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter if ENV['CI']
+ SimpleCov.start do
+ add_filter '/test/'
+ end
end