diff options
author | Johannes Ewald <johannes.ewald@peerigon.com> | 2014-05-20 14:09:13 +0400 |
---|---|---|
committer | Johannes Ewald <johannes.ewald@peerigon.com> | 2014-05-20 14:09:13 +0400 |
commit | 816cdbe0590797feec49ef4e1f696ed935b33947 (patch) | |
tree | d76fa3f632fd0be3cc1b14951c2629bd1373dfd9 /.travis.yml | |
parent | 125d7e2f4ec12eeb66c2ebc7e4e27d56cb7f1505 (diff) |
Added istanbul for test coverage
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index f162fbb..5257b85 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,11 @@ language: node_js node_js: - "0.8" - "0.10" + - "0.11" script: - - npm test
\ No newline at end of file + - npm test +after_success: + - npm install -g istanbul + - npm install coveralls + - istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
\ No newline at end of file |