Skip to content

Commit c422db6

Browse files
committed
tweaks for codecov
1 parent f0ddbb7 commit c422db6

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
@@ -46,5 +46,5 @@ script: |
4646
fi
4747
after_success: |
4848
if [ "${BROWSER}" = "" ]
49-
then nyc report --reporter=json > coverage/coverage.json && codecov
49+
then codecov -f coverage/*.json
5050
fi

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"test:cover:wasm": "npx nyc --no-clean npm run test:wasm",
2323
"test:cover:td": "npx nyc --no-clean npm run test:td",
2424
"cover:clean": "rimraf .nyc_output coverage/",
25-
"cover:report": "nyc report --reporter=lcov --reporter=text-summary --reporter=html",
25+
"cover:report": "nyc report --reporter=text-summary --reporter=html --reporter=json",
2626
"test:browser": "karma start --single-run",
2727
"test:browser:firefox": "karma start --single-run --browsers FirefoxHeadless",
2828
"test:browser:chrome": "karma start --single-run --browsers ChromeHeadless",

0 commit comments

Comments
 (0)