Skip to content

Commit

Permalink
run coveralls in CI only
Browse files Browse the repository at this point in the history
  • Loading branch information
colby-swandale committed Nov 2, 2018
1 parent 3988bc5 commit 0dd119c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
$:.unshift File.expand_path("../../lib", __FILE__)

begin
gem "coveralls"
require "coveralls"
Coveralls.wear!
if ENV['CI']
gem "coveralls"
require "coveralls"
Coveralls.wear!
end
rescue Gem::LoadError
end

Expand Down

0 comments on commit 0dd119c

Please sign in to comment.