Skip to content

Commit 8ec03f7

Browse files
committed
Merge pull request #14 from pat310/fixCoverage
is coveralls working now?
2 parents 3fb8c38 + 408de26 commit 8ec03f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ language: node_js
22
node_js:
33
- 4.2
44
- 0.12
5-
after_script: "npm run test-cov"
5+
after_script: "npm run test-cov && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"test": "mocha",
88
"compile": "babel --presets es2015 -d lib/ src/",
9-
"test-cov": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
9+
"test-cov": "./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha -- -R spec ./test/*",
1010
"prepublish": "npm run compile",
1111
"pretest": "npm run compile"
1212
},

0 commit comments

Comments
 (0)