Skip to content

Commit

Permalink
Added jest coverage to travis to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
bandantonio committed Aug 1, 2019
1 parent ecdd817 commit b3612ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ node_js:
install:
- npm install
script:
- npm test
- "cat ${TRAVIS_BUILD_DIR}/coverage/lcov.info | coveralls"
- "codecov -f ${TRAVIS_BUILD_DIR}/coverage/lcov.info"
cache:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"jsdoc": "jsdoc -c .jsdoc.json",
"styles": "stylus src/css/style.styl --out src/css/style.min.css --compress",
"serve": "serve -p 8088",
"test": "jest"
"test": "jest --coverage"
},
"author": "Anton Zolotukhin <zolotuhin87@gmail.com> (https://mister-gold.pro)",
"license": "MIT",
Expand Down

0 comments on commit b3612ca

Please sign in to comment.