summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2020-01-10 20:18:12 +0100
committerDaniel Hahler <git@thequod.de>2020-01-14 09:15:36 +0100
commit4ff7453b482ca99a1481b096c96d9447fb2b4b93 (patch)
tree2cfe9df3d404fa5808c0f0f66f338857c98f3d84
parent8eec42f040e65139972a0049b9a0eea46e6b27ac (diff)
downloadpytest-4ff7453b482ca99a1481b096c96d9447fb2b4b93.tar.gz
ci: Travis: Python 3.5.1 via Trusty
Python 3.5.0 caused flaky failures before (https://github.com/pytest-dev/pytest/issues/5795). This is pulled out of https://github.com/pytest-dev/pytest/pull/6435, which adds code specific for Python < 3.5.2. It only runs a specific test, while collecting everything to get coverage of the version specific code around typing.
-rw-r--r--.travis.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 35ca8a69c..5b67f15dd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -52,8 +52,10 @@ jobs:
- env: TOXENV=pypy3-xdist
python: 'pypy3'
- - env: TOXENV=py35-xdist
- python: '3.5'
+ # Coverage for Python 3.5.{0,1} specific code, mostly typing related.
+ - env: TOXENV=py35 PYTEST_COVERAGE=1 PYTEST_ADDOPTS="-k test_raises_cyclic_reference"
+ python: '3.5.1'
+ dist: trusty
# Specialized factors for py37.
- env: TOXENV=py37-pluggymaster-xdist