Skip to content

Commit 6b5e9a9

Browse files
committed
add codecov
1 parent f96ca86 commit 6b5e9a9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
language: node_js
22
node_js:
33
- 8
4+
after_success: yarn coverage

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"test": "yarn run lint && yarn run ava",
99
"lint": "xo",
1010
"ava": "nyc ava --verbose --fail-fast",
11+
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
1112
"start": "node ./dist/index.js"
1213
},
1314
"dependencies": {

0 commit comments

Comments
 (0)