Skip to content

Commit

Permalink
Added Coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
atesgoral committed Jun 13, 2016
1 parent dcade06 commit b091aa7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -2,3 +2,4 @@ sudo: false
language: node_js
node_js:
- 4
script: npm run-script coveralls
4 changes: 3 additions & 1 deletion package.json
Expand Up @@ -5,7 +5,8 @@
"main": "index.js",
"scripts": {
"test": "mocha",
"coverage": "./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha"
"coverage": "istanbul cover _mocha",
"coveralls": "istanbul cover _mocha && cat ./coverage/lcov.info | coveralls"
},
"repository": {
"type": "git",
Expand All @@ -24,6 +25,7 @@
},
"devDependencies": {
"chai": "^3.5.0",
"coveralls": "^2.11.9",
"istanbul": "^0.4.3",
"mocha": "^2.5.3"
}
Expand Down

0 comments on commit b091aa7

Please sign in to comment.