Skip to content

Commit

Permalink
chore: deflake coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickhulce committed Jul 15, 2016
1 parent bcf74cd commit 862b165
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ node_js:
- "5"
- "4"
before_install:
- npm install -g istanbul coveralls
- npm install -g istanbul coveralls codeclimate-test-reporter
script:
- xo ./lib/**/*.js
- istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --require test/bootstrap test/**/*.test.js && cat ./coverage/lcov.info | coveralls
- istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- --require test/bootstrap test/**/*.test.js
- cat ./coverage/lcov.info | coveralls || echo 'Failed to upload to coveralls...'
- codeclimate-test-reporter < ./coverage/lcov.info || echo 'Failed to upload to codeclimate...'

0 comments on commit 862b165

Please sign in to comment.