File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -17,16 +17,16 @@ matrix:
17
17
env : NO_WATCH_TESTS=1 JOB_PART=lint
18
18
- os : linux
19
19
node_js : " 8"
20
- env : NO_WATCH_TESTS=1 JOB_PART=integration
20
+ env : NO_WATCH_TESTS=1 JEST=--maxWorkers=2 JOB_PART=integration
21
21
- os : linux
22
22
node_js : " 8"
23
23
env : NO_WATCH_TESTS=1 JOB_PART=unit
24
24
- os : linux
25
25
node_js : " 6"
26
- env : NO_WATCH_TESTS=1 JOB_PART=integration
26
+ env : NO_WATCH_TESTS=1 JEST=--runInBand JOB_PART=integration
27
27
- os : osx
28
28
node_js : " 8"
29
- env : NO_WATCH_TESTS=1 JOB_PART=integration
29
+ env : NO_WATCH_TESTS=1 JEST=--maxWorkers=2 JOB_PART=integration
30
30
allow_failures :
31
31
- os : osx
32
32
fast_finish : true
Original file line number Diff line number Diff line change @@ -16,8 +16,10 @@ environment:
16
16
job_part : unit
17
17
- nodejs_version : 8
18
18
job_part : integration
19
+ jest : --maxWorkers=2
19
20
- nodejs_version : 6
20
21
job_part : integration
22
+ jest : --runInBand
21
23
22
24
install :
23
25
- ps : Install-Product node $env:nodejs_version x64
@@ -35,5 +37,6 @@ test_script:
35
37
- node --version
36
38
- npm --version
37
39
- yarn --version
40
+ - cmd : set JEST=%jest%
38
41
- cmd : npm run appveyor:%job_part%
39
42
- cmd : npm install -g codecov && codecov -F %job_part%
Original file line number Diff line number Diff line change 96
96
"test" : " node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest" ,
97
97
"test:integration" : " node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \" <rootDir>/test/*.test.js\" " ,
98
98
"test:unit" : " node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --testMatch \" <rootDir>/test/*.unittest.js\" " ,
99
- "travis:integration" : " yarn cover:init && yarn cover:integration --ci --maxWorkers 2 && yarn cover:report-min" ,
99
+ "travis:integration" : " yarn cover:init && yarn cover:integration --ci $JEST && yarn cover:report-min" ,
100
100
"travis:unit" : " yarn cover:init && yarn cover:unit --ci" ,
101
101
"travis:lint" : " yarn lint" ,
102
102
"travis:benchmark" : " yarn benchmark --ci" ,
103
- "appveyor:integration" : " yarn cover:init && yarn cover:integration --ci --maxWorkers 2 && yarn cover:report-min" ,
103
+ "appveyor:integration" : " yarn cover:init && yarn cover:integration --ci %JEST% && yarn cover:report-min" ,
104
104
"appveyor:unit" : " yarn cover:init && yarn cover:unit --ci && yarn cover:report-min" ,
105
105
"appveyor:benchmark" : " yarn benchmark --ci" ,
106
106
"circleci:test" : " node --max-old-space-size=4096 --trace-deprecation node_modules/jest-cli/bin/jest --ci" ,
You can’t perform that action at this time.
0 commit comments