Skip to content

Commit d61549a

Browse files
committed
jest: change worker count on CI
1 parent 291be20 commit d61549a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,11 @@
9292
"test": "node --max-old-space-size=4096 --harmony --trace-deprecation node_modules/jest-cli/bin/jest",
9393
"test:integration": "node --max-old-space-size=4096 --harmony --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.test.js\"",
9494
"test:unit": "node --max-old-space-size=4096 --harmony --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \"<rootDir>/test/*.unittest.js\"",
95-
"travis:integration": "yarn cover:init && yarn cover:integration --ci --reporters jest-silent-reporter && yarn cover:report-min",
95+
"travis:integration": "yarn cover:init && yarn cover:integration --ci --reporters jest-silent-reporter --maxWorkers 4 && yarn cover:report-min",
9696
"travis:unit": "yarn cover:init && yarn cover:unit --ci --reporters jest-silent-reporter",
9797
"travis:lint": "yarn lint",
9898
"travis:benchmark": "yarn benchmark --ci",
99-
"appveyor:integration": "yarn cover:init && yarn cover:integration --ci --reporters jest-silent-reporter && yarn cover:report-min",
99+
"appveyor:integration": "yarn cover:init && yarn cover:integration --ci --reporters jest-silent-reporter --maxWorkers 2 && yarn cover:report-min",
100100
"appveyor:unit": "yarn cover:init && yarn cover:unit --ci --reporters jest-silent-reporter && yarn cover:report-min",
101101
"appveyor:benchmark": "yarn benchmark --ci",
102102
"circleci:test": "node --max-old-space-size=4096 --harmony --trace-deprecation node_modules/jest-cli/bin/jest --ci --reporters jest-silent-reporter",

0 commit comments

Comments
 (0)