8000 Track code coverage with Codecov · wimpyprogrammer/strings-to-regex@c2f6153 · GitHub
[go: up one dir, main page]

Skip to content

Commit c2f6153

Browse files
Track code coverage with Codecov
Upload coverage reports to Codecov.io after each Travis CI build.
1 parent b73c1ae commit c2f6153

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"lint-demo": "tsc -p ./demo/tsconfig.json; eslint ./demo --report-unused-disable-directives --ext .js,.ts --parser-options=project:./demo/tsconfig.json",
2525
"precommit": "pretty-quick --staged",
2626
"test": "jest --coverage",
27-
"travisci": "npm run lint && npm run test"
27+
"travisci": "npm run lint && npm run test && codecov"
2828
},
2929
"jest": {
3030
"collectCoverageFrom": [
@@ -46,6 +46,7 @@
4646
"@types/node": "^12.7.5",
4747
"@typescript-eslint/eslint-plugin": "^2.2.0",
4848
"@typescript-eslint/parser": "^2.2.0",
49+
"codecov": "^3.6.1",
4950
"eslint": "6.1.0",
5051
"eslint-config-airbnb-base": "14.0.0",
5152
"eslint-config-prettier": "^6.3.0",

0 commit comments

Comments
 (0)
0