Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

Commit

Permalink
ci(script): use npx for stryker
Browse files Browse the repository at this point in the history
  • Loading branch information
saiichihashimoto committed Jul 4, 2019
1 parent 4065483 commit 0dc6989
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ notifications:
on_failure: always
script:
- npm test
- npm run test:mutation
- npx stryker run
after_success:
- cat ./coverage/lcov.info | npx coveralls --verbose
jobs:
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@
"lint": "npm run lint-my-app -- lint",
"lint-my-app": "npm run build && ./lib/lint-my-app.js",
"staged": "npm run lint-my-app -- staged",
"test": "jest --verbose $(if [ -z ${CI+x} ]; then echo --watch; else echo --color --coverage; fi)",
"test:mutation": "stryker run"
"test": "jest --verbose $(if [ -z ${CI+x} ]; then echo --watch; else echo --color --coverage; fi)"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit 0dc6989

Please sign in to comment.