Skip to content

Commit

Permalink
Run coverage report once per CI run
Browse files Browse the repository at this point in the history
  • Loading branch information
rodjek committed Jul 20, 2019
1 parent 5ed1f6b commit dcaf86a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:
- FACTER_GEM_VERSION="~> 2.2.0"
- FACTER_GEM_VERSION="~> 2.3.0"
- FACTER_GEM_VERSION="~> 2.4.0"
- FACTER_GEM_VERSION="~> 2.0"
- FACTER_GEM_VERSION="~> 2.0" COVERAGE=yes
matrix:
fast_finish: true
notifications:
Expand Down
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!
if ENV['COVERAGE'] == 'yes'
require 'coveralls'
Coveralls.wear!
end

require 'rspec'
require 'facterdb'
Expand Down

0 comments on commit dcaf86a

Please sign in to comment.