Don't start SimpleCov during CI builds
This commit is contained in:
parent
5640e3625a
commit
174869a910
|
@ -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'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue