Skip to content

Commit

Permalink
Check adequate coverage always after test
Browse files Browse the repository at this point in the history
  • Loading branch information
bergie committed Nov 8, 2017
1 parent 62048d2 commit 2101c0b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
Expand Up @@ -2,9 +2,6 @@ language: node_js
sudo: false
node_js:
- '8'
script:
- npm test
- ./node_modules/.bin/nyc check-coverage --lines 75
after_success:
- ./node_modules/.bin/nyc report --reporter=text-lcov | ./node_modules/.bin/coveralls
deploy:
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -51,6 +51,7 @@
},
"scripts": {
"test": "nyc grunt test",
"posttest": "nyc check-coverage --lines 75",
"build": "grunt build"
},
"docco_husky": {
Expand Down

0 comments on commit 2101c0b

Please sign in to comment.