Skip to content

Commit 29680e0

Browse files
committed
Specify python versions in the global config instead.
1 parent 123e16e commit 29680e0

File tree

1 file changed

+9
-14
lines changed

1 file changed

+9
-14
lines changed

.travis.yml

+9-14
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,15 @@ stages:
66
if: repo = pytest-dev/pytest AND tag IS NOT present
77
- name: deploy
88
if: repo = pytest-dev/pytest AND tag IS present
9-
python: '3.7'
9+
python:
10+
- '2.7'
11+
- '3.4'
12+
- '3.5'
13+
- '3.6'
14+
- '3.7'
15+
- '3.8-dev'
16+
- 'pypy'
17+
- 'pypy3'
1018
cache: false
1119

1220
env:
@@ -44,20 +52,14 @@ jobs:
4452

4553
# Full run of latest (major) supported versions, without xdist.
4654
- env: TOXENV=py27
47-
python: '2.7'
4855
- env: TOXENV=py37
49-
python: '3.7'
5056

5157
# Coverage tracking is slow with pypy, skip it.
5258
- env: TOXENV=pypy
53-
python: 'pypy'
5459
- env: TOXENV=pypy3
55-
python: 'pypy3'
5660

5761
- env: TOXENV=py34
58-
python: '3.4'
5962
- env: TOXENV=py35-xdist
60-
python: '3.5'
6163

6264
# Coverage for:
6365
# - pytester's LsofFdLeakChecker
@@ -68,9 +70,7 @@ jobs:
6870

6971
# Specialized factors for py27.
7072
- env: TOXENV=py27-nobyte-numpy-xdist
71-
python: '2.7'
7273
- env: TOXENV=py27-pluggymaster-xdist
73-
python: '2.7'
7474

7575
# Specialized factors for py37.
7676
# Coverage for:
@@ -81,17 +81,14 @@ jobs:
8181

8282
# Jobs only run via Travis cron jobs (currently daily).
8383
- env: TOXENV=py38
84-
python: '3.8-dev'
8584
if: type = cron
8685

8786
- stage: baseline
8887
# Coverage for:
8988
# - _pytest.unittest._handle_skip (via pexpect).
9089
env: TOXENV=py27-pexpect,py27-twisted PYTEST_COVERAGE=1
91-
python: '2.7'
9290
# Use py36 here for faster baseline.
9391
- env: TOXENV=py36
94-
python: '3.6'
9592
- env: TOXENV=linting,docs,doctesting PYTEST_COVERAGE=1
9693
cache:
9794
directories:
@@ -124,10 +121,8 @@ jobs:
124121
matrix:
125122
allow_failures:
126123
- env: TOXENV=py38
127-
python: '3.8-dev'
128124
# Temporary (https://github.com/pytest-dev/pytest/pull/5334).
129125
- env: TOXENV=pypy3-xdist
130-
python: 'pypy3'
131126

132127
before_script:
133128
- |

0 commit comments

Comments
 (0)