Skip to content

Commit 8be3f19

Browse files
chore: get codacy coverage ready
1 parent b6cabd3 commit 8be3f19

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ after_script:
1616
- npm run coverage
1717
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
1818
- bash <(curl -s https://codecov.io/bash) -f coverage/lcov.info
19+
- npm run coverage
1920
after_success:
2021
- echo "Preparing to upload to GitHub"
2122
- git config --global user.email "travis@travis-ci.org"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"testonly": "nyc --reporter=lcov mocha",
1111
"test-with-coverage": "istanbul cover ./node_modules/mocha/bin/_mocha -- -R spec",
1212
"codecov": "codecov",
13-
"coverage": "type coverage/lcov.info | codacy-coverage --username codemastermick --projectName dicewerx",
13+
"coverage": "cat coverage/lcov.info | codacy-coverage --username codemastermick --projectName dicewerx",
1414
"compile:docs": "typedoc --out ./docs/ ./src/ && echo off >> ./docs/.nojekyll",
1515
"publish:docs": "git add . && git commit -m \"chore: regenerate docs [ci skip]\" && git push",
1616
"docs":"npm run compile:docs && npm run publish:docs",

0 commit comments

Comments
 (0)