Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

Commit

Permalink
report coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeysova committed Feb 17, 2018
1 parent 2035d94 commit e9ae38d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ node_js:
sudo: false

script:
- nyc npm test && nyc report --reporter-text-lcov | coveralls
- npm test

after_success:
- npm run report
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"description": "Write your actions and reducers without pain",
"main": "lib/index.js",
"scripts": {
"test": "eslint . && ava"
"test": "eslint . && nyc ava",
"coverage": "NODE_ENV=test nyc report --reporter=text-lcov",
"report": "nyc report --reporter=text-lcov | coveralls"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit e9ae38d

Please sign in to comment.