Skip to content

Commit ac930a3

Browse files
author
Jason Walton
committed
Fix coverage reporting.
1 parent 81b5fc6 commit ac930a3

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@ node_js:
44
- '0.12'
55
- '4'
66
- '5'
7+
script:
8+
- npm run coverage
79
after_success:
810
- 'cat ./coverage/lcov.info | ./node_modules/.bin/coveralls'

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"quicktest": "mocha",
88
"test": "mocha --compilers js:babel-core/register",
99
"coverage": "babel-node node_modules/isparta/bin/isparta cover node_modules/mocha/bin/_mocha",
10-
"prepublish": "babel -d lib src"
10+
"prepublish": "babel -d lib src",
11+
"clean": "rm -rf lib coverage"
1112
},
1213
"keywords": [
1314
"async",

0 commit comments

Comments
 (0)