Skip to content

Commit

Permalink
Add real coverage indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielgodoy-zz committed Jan 3, 2017
1 parent 9853c6a commit 881918c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
language: node_js
node_js:
- "6.1"
after_script: NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec ./**/*.test.js && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
after_script: NODE_ENV=test istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec ./**/*.js && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"test": "mocha --colors --reporter spec ./**/*.test.js",
"test:watch": "npm test -- --watch",
"coverage": "istanbul cover _mocha ./**/*.test.js",
"coverage": "istanbul cover _mocha ./**/*.js",
"lint": "eslint './options/**/*.js'",
"precommit": "npm run lint"
},
Expand Down

0 comments on commit 881918c

Please sign in to comment.