Skip to content

Commit

Permalink
Add coveralls.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgalentine007 committed May 19, 2018
1 parent 3052ca1 commit 185bdab
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
language: node_js
node_js:
- "lts/*"

jobs:
include:
- stage: Produce Coverage
node_js: node
script: jest --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
35 changes: 34 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,13 @@
"no-secrets-install-windows": "installfilter.cmd"
},
"devDependencies": {
"coveralls": "^3.0.1",
"hasha": "^3.0.0",
"jest": "^22.4.4"
},
"jest": {
"coveragePathIgnorePatterns": ["src/index.js"]
"coveragePathIgnorePatterns": [
"src/index.js"
]
}
}

0 comments on commit 185bdab

Please sign in to comment.