Skip to content

Commit

Permalink
Add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
lundberg committed Mar 15, 2019
1 parent 4a03197 commit 4c54895
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ install:
- cp src/_bananas.settings.js src/bananas.settings.js
- npm ci
- cd ..
script:
- npm test
- npm run publishCoverageReport
50 changes: 50 additions & 0 deletions 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 @@ -24,6 +24,7 @@
"doctoc": "doctoc --maxlevel 3 README.md",
"jest": "jest --verbose",
"coverage": "jest --coverage",
"publishCoverageReport": "cat ./coverage/lcov.info | coveralls",
"buildwatch": "babel src --watch --out-dir dist",
"build": "babel --delete-dir-on-start src --out-dir dist",
"test": "npm run eslint && npm run coverage && npm run build",
Expand Down Expand Up @@ -62,6 +63,7 @@
"babel-jest": "24.1.0",
"babel-plugin-transform-dynamic-import": "2.1.0",
"classnames": "2.2.6",
"coveralls": "3.0.3",
"doctoc": "1.4.0",
"eslint": "5.10.0",
"eslint-config-lydell": "12.0.0",
Expand Down

0 comments on commit 4c54895

Please sign in to comment.