Skip to content

Commit

Permalink
Limit the number of Flow workers on Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
steveluscher committed May 3, 2016
1 parent 6afb023 commit 6bd8e1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"lint": "eslint .",
"prepublish": "node node_modules/fbjs-scripts/node/check-dev-engines.js package.json && npm run build",
"test": "f() { EXIT=0; npm run typecheck || EXIT=$?; npm run jest \"$@\" || EXIT=$?; exit $EXIT; }; f",
"typecheck": "flow check src/",
"typecheck": "flow check ${TRAVIS:+--max-workers=2} src/",
"update-schema": "babel-node ./scripts/jest/updateSchema.js"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion scripts/babel-relay-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"lint": "eslint .",
"prepublish": "npm run build",
"test": "f() { EXIT=0; npm run typecheck || EXIT=$?; npm run jest || EXIT=$?; exit $EXIT; }; f",
"typecheck": "flow check src/",
"typecheck": "flow check ${TRAVIS:+--max-workers=2} src/",
"update-fixtures": "babel-node ./src/tools/regenerateFixtures.js",
"update-schema": "babel-node ./src/tools/generateSchemaJson.js"
},
Expand Down

0 comments on commit 6bd8e1d

Please sign in to comment.