Skip to content

Commit

Permalink
Output Jest results
Browse files Browse the repository at this point in the history
  • Loading branch information
Tejas Kumar committed Aug 8, 2018
1 parent 3bc4a0a commit ec19022
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ notifications:
env:
- JEST_MAX_WORKERS: 4

before_script:
- yarn danger ci

# When Travis gets notified of a new build, do this
# When Travis gets notified of a new build, do this
script:
- yarn ci
- yarn danger ci
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
"preversion": "npm run build",
"version": "auto-changelog -p && git add CHANGELOG.md",
"lint": "tslint src/**/*{ts,tsx} --project .",
"ci": "npm run test && npm run lint"
"ci": "npm run jest && npm run lint",
"jest": "jest --outputFile test-results.json --json"
},
"lint-staged": {
"*.md": [
Expand Down

0 comments on commit ec19022

Please sign in to comment.