Skip to content

Commit

Permalink
Coverage: add coveralls to travis
Browse files Browse the repository at this point in the history
Fixes #102
Closes gh-103
  • Loading branch information
Alexej Yaroshevich committed May 3, 2015
1 parent fd317b7 commit 2598d6d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ matrix:
before_script:
- ln -s ../ ./node_modules/jscs-jsdoc

after_success:
- |
if [ "${TRAVIS_NODE_VERSION}" == "0.10" ]; then
npm i istanbul istanbul-coveralls
istanbul cover --report lcovonly ./node_modules/.bin/_mocha
istanbul-coveralls && echo "Coverage data was sent to coveralls!"
fi
notifications:
webhooks:
urls:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
[![Gitter](https://img.shields.io/badge/GITTER-JOIN_CHAT_%E2%86%92-1dce73.svg)](https://gitter.im/jscs-dev/talks?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![Build Status](https://img.shields.io/travis/jscs-dev/jscs-jsdoc.svg)](http://travis-ci.org/jscs-dev/jscs-jsdoc?style=flat)
[![Dependency Status](https://img.shields.io/david/jscs-dev/jscs-jsdoc.svg)](https://david-dm.org/jscs-dev/jscs-jsdoc)
[![Coverage](https://img.shields.io/coveralls/jscs-dev/jscs-jsdoc.svg)](https://coveralls.io/r/jscs-dev/jscs-jsdoc)

[![NPM version](https://img.shields.io/npm/v/jscs-jsdoc.svg)](https://www.npmjs.com/package/jscs-jsdoc)
[![NPM downloads](https://img.shields.io/npm/dm/jscs-jsdoc.svg)](https://www.npmjs.com/package/jscs-jsdoc)
Expand Down

0 comments on commit 2598d6d

Please sign in to comment.