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

Commit

Permalink
chore(coveralls): adds coveralls
Browse files Browse the repository at this point in the history
adds coveralls to build process
  • Loading branch information
victorhahn committed Mar 19, 2019
1 parent fb1652d commit 133b02b
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ sudo: required
language: node_js
node_js:
- "8"
after_success: 'npm run coveralls'

os:
- linux
Expand Down
36 changes: 35 additions & 1 deletion package-lock.json

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

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"leasot": "./node_modules/.bin/leasot './**/*.js' --ignore './node_modules/**/*' -x",
"mocha": "./node_modules/.bin/mocha",
"test": "npm run mocha && npm run leasot",
"coveralls": "nyc --reporter=lcovonly npm test -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
"commit": "git-cz",
"docs": "jsdoc2md --template build/README.hbs lib/*.js > README.md",
"coverage": "nyc --reporter html --reporter text npm test",
Expand Down Expand Up @@ -52,6 +53,7 @@
"@semantic-release/git": "^7.0.8",
"chai": "^4.2.0",
"commitizen": "^3.0.7",
"coveralls": "^3.0.3",
"husky": "^1.3.1",
"istanbul": "^0.4.5",
"jsdoc-to-markdown": "^4.0.1",
Expand Down

0 comments on commit 133b02b

Please sign in to comment.