summaryrefslogtreecommitdiff
path: root/features
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 /features
parented2b53cd1c34c421b23208eeb502a141a6829f9d (diff)
downloadgitlab-ce-db4c3e58bca67bf773d9fe3e73acd6b687498334.tar.gz
Don't run SimpleCov on Travis
Diffstat (limited to 'features')
-rw-r--r--features/support/env.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/features/support/env.rb b/features/support/env.rb
index 78d829c1a2f..b69a5fe7f07 100644
--- a/features/support/env.rb
+++ b/features/support/env.rb
@@ -1,5 +1,7 @@
-require 'simplecov'
-SimpleCov.start 'rails'
+unless ENV['CI']
+ require 'simplecov'
+ SimpleCov.start 'rails'
+end
require 'cucumber/rails'
require 'webmock/cucumber'