template/spec/spec_helper.rb in gemplate-1.0.2 vs template/spec/spec_helper.rb in gemplate-1.1.0

- old
+ new

@@ -1,10 +1,11 @@ -require 'simplecov' -require 'coveralls' - -SimpleCov.formatter = Coveralls::SimpleCov::Formatter -SimpleCov.start do - add_filter '/spec/' +if ENV['CI'] == 'true' + require 'simplecov' + require 'codecov' + SimpleCov.formatter = SimpleCov::Formatter::Codecov + SimpleCov.start do + add_filter '/spec/' + end end require 'rspec' require 'REPO_NAME'