Skip to content

Commit aaae7e6

Browse files
authored
Reduce Travis parallelism (#8195)
Previously -n12 provided fast builds, but it looks like -n2 is marginally faster now. Total runtime went from 1 hr 48 min to 1 hr 41 min (though with a sample size of 1).
1 parent 25c993b commit aaae7e6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dist: xenial
1717

1818
env:
1919
TOXENV=py
20-
EXTRA_ARGS="-n 12"
20+
EXTRA_ARGS="-n 2"
2121
TEST_MYPYC=0
2222
PYTHON_DEBUG_BUILD=0
2323

@@ -39,19 +39,19 @@ jobs:
3939
- TOXENV=py36
4040
- PYTHONVERSION=3.6.8
4141
- PYTHON_DEBUG_BUILD=1
42-
- EXTRA_ARGS="-n 12 mypyc/test/test_run.py mypyc/test/test_external.py"
42+
- EXTRA_ARGS="-n 2 mypyc/test/test_run.py mypyc/test/test_external.py"
4343
- name: "run mypyc runtime tests with python 3.6 on OS X"
4444
os: osx
4545
osx_image: xcode8.3
4646
language: generic
4747
env:
4848
- PYTHONVERSION=3.6.3
49-
- EXTRA_ARGS="-n 12 mypyc/test/test_run.py mypyc/test/test_external.py"
49+
- EXTRA_ARGS="-n 2 mypyc/test/test_run.py mypyc/test/test_external.py"
5050
- name: "run test suite with python 3.7 (compiled with mypyc)"
5151
python: 3.7
5252
env:
5353
- TOXENV=py
54-
- EXTRA_ARGS="-n 12"
54+
- EXTRA_ARGS="-n 2"
5555
- TEST_MYPYC=1
5656
- name: "type check our own code"
5757
python: 3.7

0 commit comments

Comments
 (0)