Skip to content

Commit

Permalink
enabled coverage, hopefully
Browse files Browse the repository at this point in the history
  • Loading branch information
rip-tyang committed Jul 7, 2016
1 parent 7134fa2 commit b6d5bc1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
language: node_js
node_js:
- "6"
after_script:
- npm run coverage
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"test": "mocha",
"coverage": "istanbul cover _mocha test/test.js"
"coverage": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
},
"keywords": [
"punctuationize",
Expand All @@ -17,6 +17,7 @@
"devDependencies": {
"chai": "^3.5.0",
"chai-things": "^0.2.0",
"coveralls": "^2.11.9",
"istanbul": "^0.4.4",
"mocha": "^2.5.3"
}
Expand Down

0 comments on commit b6d5bc1

Please sign in to comment.