diff options
author | Robert Speicher <rspeicher@gmail.com> | 2012-08-23 07:24:25 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2012-08-23 07:24:25 -0400 |
commit | db4c3e58bca67bf773d9fe3e73acd6b687498334 (patch) | |
tree | e30970a04f29d169f01d7d3c55e77c0f175185b6 /spec | |
parent | ed2b53cd1c34c421b23208eeb502a141a6829f9d (diff) | |
download | gitlab-ce-db4c3e58bca67bf773d9fe3e73acd6b687498334.tar.gz |
Don't run SimpleCov on Travis
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spec_helper.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 5c0bb618754..cd931475486 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,5 +1,7 @@ -require 'simplecov' -SimpleCov.start 'rails' +unless ENV['CI'] + require 'simplecov' + SimpleCov.start 'rails' +end # This file is copied to spec/ when you run 'rails generate rspec:install' ENV["RAILS_ENV"] ||= 'test' |