Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: deflake coveralls #6

Merged
merged 1 commit into from
Jul 15, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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...'