Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-08-23 15:24:25 +0400
committerRobert Speicher <rspeicher@gmail.com>2012-08-23 15:24:25 +0400
commitdb4c3e58bca67bf773d9fe3e73acd6b687498334 (patch)
treee30970a04f29d169f01d7d3c55e77c0f175185b6 /spec/spec_helper.rb
parented2b53cd1c34c421b23208eeb502a141a6829f9d (diff)
Don't run SimpleCov on Travis
Diffstat (limited to 'spec/spec_helper.rb')
-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'