Skip to content

Commit

Permalink
ci: Travis: Python 3.5.1 via Trusty
Browse files Browse the repository at this point in the history
Python 3.5.0 caused flaky failures before
(pytest-dev#5795).

This is pulled out of pytest-dev#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.
  • Loading branch information
blueyed committed Jan 12, 2020
1 parent 9074000 commit f95ae80
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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-xdist 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
Expand Down

0 comments on commit f95ae80

Please sign in to comment.