Skip to content

Commit 046d1c1

Browse files
author
Alexej Yaroshevich
committed
add coveralls to travis
1 parent fd317b7 commit 046d1c1

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ matrix:
1212
before_script:
1313
- ln -s ../ ./node_modules/jscs-jsdoc
1414

15+
after_success:
16+
- |
17+
if [ "${TRAVIS_NODE_VERSION}" == "0.10" ]; then
18+
npm i istanbul istanbul-coveralls
19+
istanbul cover --report lcovonly ./node_modules/.bin/_mocha
20+
istanbul-coveralls && echo "Coverage data was sent to coveralls!"
21+
fi
22+
1523
notifications:
1624
webhooks:
1725
urls:

0 commit comments

Comments
 (0)