Skip to content

Commit 61da677

Browse files
authored
Only run Travis tests on Python 3.7 once (compiled) (#8196)
Previously we ran them both compiled and interpreted, which seems redundant.
1 parent aaae7e6 commit 61da677

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.travis.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,12 @@ jobs:
2929
dist: trusty
3030
- name: "run test suite with python 3.6"
3131
python: 3.6 # 3.6.3 pip 9.0.1
32-
- name: "run test suite with python 3.7"
33-
python: 3.7 # 3.7.0 pip 10.0.1
32+
- name: "run test suite with python 3.7 (compiled with mypyc)"
33+
python: 3.7
34+
env:
35+
- TOXENV=py
36+
- EXTRA_ARGS="-n 2"
37+
- TEST_MYPYC=1
3438
- name: "run test suite with python 3.8"
3539
python: 3.8
3640
- name: "run mypyc runtime tests with python 3.6 debug build"
@@ -47,12 +51,6 @@ jobs:
4751
env:
4852
- PYTHONVERSION=3.6.3
4953
- EXTRA_ARGS="-n 2 mypyc/test/test_run.py mypyc/test/test_external.py"
50-
- name: "run test suite with python 3.7 (compiled with mypyc)"
51-
python: 3.7
52-
env:
53-
- TOXENV=py
54-
- EXTRA_ARGS="-n 2"
55-
- TEST_MYPYC=1
5654
- name: "type check our own code"
5755
python: 3.7
5856
env:

0 commit comments

Comments
 (0)