chore(cover): moved coverage to separate npm step

This commit is contained in:
Gareth Jones 2016-12-29 22:58:22 +11:00
parent 9d84bddf4a
commit 20b416d283
2 changed files with 4 additions and 3 deletions

View File

@ -6,4 +6,4 @@ node_js:
- "5"
- "4"
after_success:
- npm run cover
- npm run codecov

View File

@ -28,8 +28,9 @@
"commitmsg": "validate-commit-msg",
"posttest": "npm run clean",
"pretest": "eslint lib/**/*",
"test": "tap 'test/tap/**/*.js' --cov && vows test/vows/*.js",
"cover": "tap 'test/tap/**/*.js' --cov --coverage-report=lcov && codecov"
"test": "tap 'test/tap/**/*.js' && vows test/vows/*.js",
"coverage": "tap 'test/tap/**/*.js' --cov",
"codecov": "tap 'test/tap/**/*.js' --cov --coverage-report=lcov && codecov"
},
"directories": {
"test": "test",