diff --git a/.travis.yml b/.travis.yml index 74fead44..72e8023e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/package.json b/package.json index a97a1649..fe44c386 100644 --- a/package.json +++ b/package.json @@ -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": [