Don't run SimpleCov on Travis

This commit is contained in:
Robert Speicher 2012-08-23 07:24:25 -04:00
parent ed2b53cd1c
commit db4c3e58bc
2 changed files with 8 additions and 4 deletions

View file

@ -1,5 +1,7 @@
require 'simplecov'
SimpleCov.start 'rails'
unless ENV['CI']
require 'simplecov'
SimpleCov.start 'rails'
end
require 'cucumber/rails'
require 'webmock/cucumber'

View file

@ -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'