Skip to content

Commit

Permalink
Add coveralls coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
LewisJEllis committed Jun 3, 2015
1 parent fb013f5 commit c72ee9b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
before_script:
- npm install -g eslint
- npm install -g mocha
- npm install -g istanbul
language: node_js
node_js:
- "0.12"
- "0.10"
services: mongodb
after_script:
- istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@
"gridfs-stream": "^1.1.1"
},
"devDependencies": {
"chai": "2",
"mongodb": "2"
"chai": "^2.3.0",
"coveralls": "^2.11.2",
"mocha": "^2.2.5",
"mongodb": "^2.0.33"
},
"author": "Lewis J Ellis",
"license": "MIT",
Expand Down

0 comments on commit c72ee9b

Please sign in to comment.