Skip to content

Commit

Permalink
Add coveralls integration
Browse files Browse the repository at this point in the history
  • Loading branch information
tillarnold committed Aug 15, 2014
1 parent 898bd8a commit 27cee44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ language: node_js
node_js:
- "0.10"
install: npm install
script: npm run jshint && npm test
script: npm run jshint && npm run test-coveralls
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"main": "index.js",
"scripts": {
"test": "node test/test.js",
"test-coveralls": "istanbul cover test/test.js && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage",
"jshint": "jshint test/* lib/*"
},
"repository": {
Expand All @@ -20,6 +21,8 @@
"license": "MIT",
"devDependencies": {
"jshint": "^2.5.3",
"tape": "^2.14.0"
"tape": "^2.14.0",
"istanbul": "~0.3.0",
"coveralls": "~2.11.1"
}
}

0 comments on commit 27cee44

Please sign in to comment.