Explorar el Código

Only load coveralls gem (which also starts simplecov) on CI

Dominik Sander hace 6 años
padre
commit
82c30acd5f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      spec/rails_helper.rb

+ 1 - 1
spec/rails_helper.rb

@@ -3,7 +3,7 @@ ENV["RAILS_ENV"] ||= 'test'
 if ENV['COVERAGE']
   require 'simplecov'
   SimpleCov.start 'rails'
-else
+elsif ENV['CI'] == 'true'
   require 'coveralls'
   Coveralls.wear!('rails')
 end