Skip to content

Instantly share code, notes, and snippets.

@fabiojose
Created December 16, 2018 12:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fabiojose/d99f08c92b77624b1d5c0854a87f326c to your computer and use it in GitHub Desktop.
Save fabiojose/d99f08c92b77624b1d5c0854a87f326c to your computer and use it in GitHub Desktop.
./node_modules/.bin/istanbul \
cover _mocha \
--report lcovonly \
-- -R spec \
&& cat ./coverage/lcov.info \
| ./node_modules/.bin/codacy-coverage \
&& rm -rf ./coverage
travis encrypt CODACY_PROJECT_TOKEN="<YOUR CODACY TOKEN>" --add
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment