Skip to content

Commit

Permalink
ci: Add coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-koval committed Jun 28, 2018
1 parent 8c5dfa1 commit 9359176
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ services:
language: node_js

script:
- npm run ci
- npm run lint
- npm run test

after_success: npm run coverage
after_success:
- npm run test:coverage

after_success: npm run test:coverage

node_js:
- "8.9.4"
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"bugs": "https://github.com/wearereasonablepeople/trembita/issues",
"main": "index.js",
"scripts": {
"test": "nyc mocha",
"test": "mocha",
"nyc": "nyc npm test && nyc report --reporter=text-lcov",
"lint": "eslint index.js",
"ci": "npm run lint && npm run test",
"test:coverage": "npm run nyc | coveralls",
"xyz:increment": "xyz --increment",
"release:major": "changelog -M && git add CHANGELOG.md && git commit -m 'Updated CHANGELOG.md' && npm run xyz:increment major",
Expand Down

0 comments on commit 9359176

Please sign in to comment.