Skip to content

Commit

Permalink
Fix for code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
caiogondim committed Nov 28, 2017
1 parent 558e989 commit 65fa46a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,5 @@ cache:
directories:
- node_modules

install:
- npm install

after_success:
- cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- npm run coverage
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
},
"scripts": {
"test": "nyc ava test && standard --fix 'src/*.js' 'test/*.js'",
"watch": "watchify example/index.js -o example/bundle.js -v"
"watch": "watchify example/index.js -o example/bundle.js -v",
"coverage": "nyc report --reporter=text-lcov | coveralls"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 65fa46a

Please sign in to comment.