From 570f6ae1c10a7023c6aa9556ada18c8d7076e065 Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Sun, 14 Jul 2019 21:44:37 +0200 Subject: [PATCH 1/3] Add Python 3.7 to the Travis builds. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index d64e2736..cf356929 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ python: - "2.7" - "3.5" - "3.6" + - "3.7" env: - DJANGO='django>=1.11.0,<1.12.0' TESTDB=sqlite - DJANGO='django>=1.11.0,<1.12.0' TESTDB=postgres From 10356d6ee2bdeb2ffe80814aac30847460b207ff Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Sun, 14 Jul 2019 21:57:36 +0200 Subject: [PATCH 2/3] Travis Python 3.7 requires Xenial. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index cf356929..af220bdd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ python: - "2.7" - "3.5" - "3.6" - - "3.7" + - { python: "3.7", dist: xenial, sudo: true } # Python 3.7+ requires Xenial env: - DJANGO='django>=1.11.0,<1.12.0' TESTDB=sqlite - DJANGO='django>=1.11.0,<1.12.0' TESTDB=postgres From 5bf3a877a4d13fefaae0ee4fbb988d48500a33ce Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Sun, 14 Jul 2019 22:06:09 +0200 Subject: [PATCH 3/3] Try another incantation to get Python 3.7. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index af220bdd..904bbede 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,11 @@ language: python sudo: false +dist: xenial python: - "2.7" - "3.5" - "3.6" - - { python: "3.7", dist: xenial, sudo: true } # Python 3.7+ requires Xenial + - "3.7" env: - DJANGO='django>=1.11.0,<1.12.0' TESTDB=sqlite - DJANGO='django>=1.11.0,<1.12.0' TESTDB=postgres