Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't start SimpleCov during CI builds

  • Loading branch information...
commit f387c709ad27c772647250cd03bb83010c856c7c 1 parent 08acde0
@sferik sferik authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 spec/helper.rb
View
6 spec/helper.rb
@@ -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'
Please sign in to comment.
Something went wrong with that request. Please try again.