Skip to content
This repository was archived by the owner on May 11, 2021. It is now read-only.

Commit

Permalink
set up codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
keppel committed Sep 3, 2019
1 parent 1d70a34 commit 36abcdb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
.nyc_output
coverage/
src/*.js
dist/
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.travis.yml
coverage/
test
bitcoinPeg.md
.nyc_output
Expand Down
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ install:
- npm install
script:
- npm test
- npm install codecov -g
notifications:
email: false
after_success:
- codecov
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@
"webcoin": "^3.1.0"
},
"scripts": {
"test": "tsc && ava dist/test/*.js"
"pretest": "tsc",
"test": "nyc ava dist/test/*.js",
"posttest": "nyc report --reporter=json"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 36abcdb

Please sign in to comment.