Skip to content

Commit

Permalink
Generate coverage report on travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
leMaik committed Nov 5, 2017
1 parent 34905c0 commit cd85d02
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
language: node_js
node_js:
- "6"
- "8"
script: npm run lint && npm run test:coverage
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"scripts": {
"build": "babel src -d lib --ignore spec.js",
"prepublish": "rm -rf lib && npm run build",
"lint": "standard",
"test": "standard && jest",
"test:coverage": "jest --coverage && cat ./coverage/lcov.info | coveralls",
"test:unit": "jest"
Expand Down

0 comments on commit cd85d02

Please sign in to comment.