Skip to content

Commit a72ee58

Browse files
committed
fix coverage on travis
1 parent e27ba85 commit a72ee58

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

docker-compose.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,4 @@ coverage:
2525
- redis
2626
- postgres:pg
2727
working_dir: /usr/src/miniprofiler
28-
command:
29-
- npm run mocha-coverage
30-
- npm run check-coverage
31-
- npm run update-coveralls
28+
command: bash -c "npm run mocha-coverage && npm run check-coverage && npm run update-coveralls"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
"mocha": "mocha tests/ -c",
1313
"mocha-coverage": "istanbul cover ./node_modules/mocha/bin/_mocha -- tests/ -R spec",
14-
"check-coverage": "istanbul check-coverage --statements 70 --branches 70 --functions 70 --lines 70",
14+
"check-coverage": "istanbul check-coverage --statements 90 --branches 90 --functions 90 --lines 90",
1515
"update-coveralls": "cat coverage/lcov.info | node ./node_modules/coveralls/bin/coveralls.js"
1616
},
1717
"repository": {

0 commit comments

Comments
 (0)