Add code coverage and upload to Codecov.io

This commit is contained in:
Samer Albahra
2015-07-12 15:16:39 -05:00
parent 34752edd74
commit a4d466e0e8
3 changed files with 7 additions and 0 deletions

View File

@@ -8,5 +8,8 @@ before_install:
install: npm install
before_script:
- grunt
after_script:
- istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec
- cat coverage/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js
notifications:
on_failure: change