Skip to content

Commit

Permalink
chore: fix coverage script
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobiah committed Sep 24, 2019
1 parent 58f3036 commit f3afac5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ cache:
notifications:
email: false
node_js:
- node
- "lts/*"
- "8.9.0"
- "8.16.0"
- "9.11.2"
- "10.16.0"
- "lts/*"
- node

before_script:
- greenkeeper-lockfile-update
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"scripts": {
"test": "npx nyc --reporter=html --reporter=text mocha --exit",
"coverage": "nyc report --reporter=text-lcov | npx coveralls",
"coverage": "npm test && npx nyc report --reporter=text-lcov | npx coveralls",
"build-docs": "npx jsdoc -c jsdoc-config.json -d docs",
"lint": "npx eslint main.js lib/ test/",
"lint:fix": "npx eslint main.js lib/ test/ --fix"
Expand Down

0 comments on commit f3afac5

Please sign in to comment.