Skip to content

Commit

Permalink
Failure to post coverage is not an error
Browse files Browse the repository at this point in the history
  • Loading branch information
danvk committed Jul 8, 2015
1 parent a554805 commit 672a74f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ script: >
npm run flow-check &&
npm run lint &&
npm run coverage &&
cat coverage/lcov.info | ./node_modules/.bin/coveralls
./scripts/post-coverage.sh
4 changes: 4 additions & 0 deletions scripts/post-coverage.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
cat coverage/lcov.info | ./node_modules/.bin/coveralls

echo '' # reset exit code -- failure to post coverage shouldn't be an error.

0 comments on commit 672a74f

Please sign in to comment.