@@ -19,39 +19,28 @@ install:
1919jobs :
2020 include :
2121 # OSX tests - first (in test stage), since they are the slower ones.
22- - &test-macos
23- os : osx
22+ - os : osx
23+ # NOTE: (tests with) pexpect appear to be buggy on Travis,
24+ # at least with coverage.
25+ # Log: https://travis-ci.org/pytest-dev/pytest/jobs/500358864
2426 osx_image : xcode10.1
2527 language : generic
26- # Coverage for:
27- # - py2 with symlink in test_cmdline_python_package_symlink.
28- env : TOXENV=py27-xdist PYTEST_COVERAGE=1
29- before_install :
30- - python -V
31- - test $(python -c 'import sys; print("%d%d" % sys.version_info[0:2])') = 27
32- - << : *test-macos
33- env : TOXENV=py37-pexpect,py37-xdist PYTEST_COVERAGE=1
28+ env : TOXENV=py37-xdist PYTEST_COVERAGE=1
3429 before_install :
3530 - which python3
3631 - python3 -V
3732 - ln -sfn "$(which python3)" /usr/local/bin/python
3833 - python -V
3934 - test $(python -c 'import sys; print("%d%d" % sys.version_info[0:2])') = 37
4035
41- # Full run of latest (major) supported versions, without xdist.
42- - env : TOXENV=py27
43- python : ' 2.7'
36+ # Full run of latest supported version, without xdist.
4437 - env : TOXENV=py37
4538 python : ' 3.7'
4639
4740 # Coverage tracking is slow with pypy, skip it.
48- - env : TOXENV=pypy-xdist
49- python : ' pypy'
5041 - env : TOXENV=pypy3-xdist
5142 python : ' pypy3'
5243
53- - env : TOXENV=py34-xdist
54- python : ' 3.4'
5544 - env : TOXENV=py35-xdist
5645 python : ' 3.5'
5746
6251 # Empty PYTEST_ADDOPTS to run this non-verbose.
6352 - env : TOXENV=py37-lsof-numpy-xdist PYTEST_COVERAGE=1 PYTEST_ADDOPTS=
6453
65- # Specialized factors for py27.
66- - env : TOXENV=py27-nobyte-numpy-xdist
67- python : ' 2.7'
68- - env : TOXENV=py27-pluggymaster-xdist
69- python : ' 2.7'
70-
7154 # Specialized factors for py37.
7255 # Coverage for:
7356 # - test_sys_breakpoint_interception (via pexpect).
8164 if : type = cron
8265
8366 - stage : baseline
84- # Coverage for:
85- # - _pytest.unittest._handle_skip (via pexpect).
86- env : TOXENV=py27-pexpect,py27-twisted PYTEST_COVERAGE=1
87- python : ' 2.7'
88- # Use py36 here for faster baseline.
89- - env : TOXENV=py36-xdist
67+ env : TOXENV=py36-xdist
9068 python : ' 3.6'
9169 - env : TOXENV=linting,docs,doctesting PYTEST_COVERAGE=1
9270 cache :
0 commit comments