Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

Commit

Permalink
Add code coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
vHanda committed Sep 11, 2018
1 parent 1da0bce commit 2fabccb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
language: node_js
node_js:
- "node"

script: echo "Running tests against $(node -v)..."

jobs:
include:
- stage: Produce Coverage
node_js: node
script: jest --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"@types/jest": "^23.3.2",
"@types/js-yaml": "^3.11.2",
"@types/node": "^10.9.4",
"coveralls": "^3.0.2",
"jest": "^23.6.0",
"pkg": "^4.3.4",
"ts-jest": "^23.1.4",
Expand Down

0 comments on commit 2fabccb

Please sign in to comment.