Don't start SimpleCov during CI builds

This commit is contained in:
Erik Michaels-Ober 2012-03-12 18:20:07 -05:00
parent 5640e3625a
commit 174869a910
1 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,8 @@
ENV["RAILS_ENV"] ||= 'test' ENV["RAILS_ENV"] ||= 'test'
require 'simplecov' unless ENV['CI']
SimpleCov.start 'rails' require 'simplecov'
SimpleCov.start 'rails'
end
require File.expand_path("../../config/environment", __FILE__) require File.expand_path("../../config/environment", __FILE__)
require 'rspec/rails' require 'rspec/rails'