summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-08-23 07:24:25 -0400
committerRobert Speicher <rspeicher@gmail.com>2012-08-23 07:24:25 -0400
commitdb4c3e58bca67bf773d9fe3e73acd6b687498334 (patch)
treee30970a04f29d169f01d7d3c55e77c0f175185b6 /spec
parented2b53cd1c34c421b23208eeb502a141a6829f9d (diff)
downloadgitlab-ce-db4c3e58bca67bf773d9fe3e73acd6b687498334.tar.gz
Don't run SimpleCov on Travis
Diffstat (limited to 'spec')
-rw-r--r--spec/spec_helper.rb6
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'