spec/spec_helper.rb in linodians-1.0.0 vs spec/spec_helper.rb in linodians-1.0.1

- 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 'linodians'