Permalink
Browse files

Don't start SimpleCov during CI builds

  • Loading branch information...
1 parent 08acde0 commit f387c709ad27c772647250cd03bb83010c856c7c @sferik sferik committed Mar 13, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 spec/helper.rb
View
@@ -2,8 +2,10 @@ def macruby?
defined?(RUBY_ENGINE) && RUBY_ENGINE == 'macruby'
end
-require 'simplecov'
-SimpleCov.start unless macruby?
+unless ENV['CI'] || macruby?
+ require 'simplecov'
+ SimpleCov.start
+end
require 'multi_json'
require 'rspec'

0 comments on commit f387c70

Please sign in to comment.