Travis: Add workaround for Python 3.7

Upstream issue: https://github.com/travis-ci/travis-ci/issues/9815
This commit is contained in:
Pi Delport 2018-08-20 18:04:10 +02:00
parent b7151350b6
commit 4237a95359

View file

@ -4,7 +4,6 @@ python:
- 3.4
- 3.5
- 3.6
- 3.7
env:
- DJANGO=1.7
- DJANGO=1.8
@ -27,6 +26,10 @@ matrix:
include:
- { python: 3.6, env: TOXENV=flake8 }
- { python: 3.6, env: TOXENV=readme }
# Work around Travis Python 3.7 issue: https://github.com/travis-ci/travis-ci/issues/9815
- { python: '3.7', env: DJANGO=1.11, dist: xenial, sudo: true }
- { python: '3.7', env: DJANGO=2.0, dist: xenial, sudo: true }
- { python: '3.7', env: DJANGO=2.1, dist: xenial, sudo: true }
install:
- pip install tox-travis