From 4237a953596970d9b3c302e658789e2ebc2cd246 Mon Sep 17 00:00:00 2001 From: Pi Delport Date: Mon, 20 Aug 2018 18:04:10 +0200 Subject: [PATCH] Travis: Add workaround for Python 3.7 Upstream issue: https://github.com/travis-ci/travis-ci/issues/9815 --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 00cc6b1..6a1640c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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