diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 95110112f69..5c90dc91c94 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,7 +1,8 @@ # This file is copied to spec/ when you run 'rails generate rspec:install' - -if ENV["TRAVIS"] +if ENV["TRAVIS"] || ENV['CI'] require 'coveralls' + require 'simplecov' + SimpleCov.start Coveralls.wear!('rails') { add_filter("/spec/") } end