8000 chore(cover): moved coverage to separate npm step · WebHu/log4js-node@20b416d · GitHub
[go: up one dir, main page]

Skip to content

Commit 20b416d

Browse files
author
Gareth Jones
committed
chore(cover): moved coverage to separate npm step
1 parent 9d84bdd commit 20b416d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ node_js:
66
- "5"
77
- "4"
88
after_success:
9-
- npm run cover
9+
- npm run codecov

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@
2828
"commitmsg": "validate-commit-msg",
2929
"posttest": "npm run clean",
3030
"pretest": "eslint lib/**/*",
31-
"test": "tap 'test/tap/**/*.js' --cov && vows test/vows/*.js",
32-
"cover": "tap 'test/tap/**/*.js' --cov --coverage-report=lcov && codecov"
31+
"test": "tap 'test/tap/**/*.js' && vows test/vows/*.js",
32+
"coverage": "tap 'test/tap/**/*.js' --cov",
33+
"codecov": "tap 'test/tap/**/*.js' --cov --coverage-report=lcov && codecov"
3334
},
3435
"directories": {
3536
"test": "test",

0 commit comments

Comments
 (0)
0