Skip to content

Commit

Permalink
Make it configurable whether to run coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
val99erie committed Apr 12, 2018
1 parent 5d07ac4 commit 8c6feeb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
require 'coveralls'
Coveralls.wear!('rails')
if ENV['COVERAGE'] || ENV['TRAVIS']
require 'coveralls'
Coveralls.wear!('rails')
end
require 'rails_helper'

RSpec.configure do |config|
Expand Down

0 comments on commit 8c6feeb

Please sign in to comment.