Skip to content

Commit

Permalink
fix: travis to coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbanMinassian committed Apr 28, 2021
1 parent 3875648 commit 9a28ab5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@ node_js:
- "15"
- "lts/*"
- "node"

install:
- gem install coveralls-lcov

after_success:
- npm run coverage && coveralls-lcov coverage/lcov.info
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"scripts": {
"test": "NODE_ENV=test node node_modules/mocha/bin/_mocha",
"test:watch": "./node_modules/.bin/nodemon --config ./.nodemon.json --exec npm run test",
"coverage": "NODE_ENV=test node_modules/c8/bin/c8.js --all node node_modules/mocha/bin/_mocha",
"coverage": "NODE_ENV=test node_modules/c8/bin/c8.js --reporter=lcov --all node node_modules/mocha/bin/_mocha",
"coverage:watch": "./node_modules/.bin/nodemon --config ./.nodemon.json --exec npm run coverage",
"lint:rslint": "rslint_cli src",
"lint:deno": "deno lint --unstable src",
Expand Down

0 comments on commit 9a28ab5

Please sign in to comment.