From 7b22ba5c3fb98c75cdb1ed273b9f2cd0ab17e4fe Mon Sep 17 00:00:00 2001 From: Andrew-Chen-Wang Date: Fri, 16 Oct 2020 09:42:10 -0400 Subject: [PATCH] Add Python 3.9 support --- .travis.yml | 5 +++++ tox.ini | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 35d11eaee..c535369b6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,7 @@ python: - "3.6" - "3.7" - "3.8" + - "3.9" services: - memcached @@ -33,6 +34,10 @@ matrix: env: DJANGO=2.0 - python: 3.8 env: DJANGO=2.1 + - python: 3.9 + env: DJANGO=2.0 + - python: 3.9 + env: DJANGO=2.1 install: pip install tox tox-travis coveralls diff --git a/tox.ini b/tox.ini index 8e44b9d0f..7d45c3f9a 100644 --- a/tox.ini +++ b/tox.ini @@ -2,9 +2,9 @@ envlist = py{35,36,37}-django2.0-{sqlite3,postgresql,mysql}-{redis,memcached,pylibmc,locmem,filebased}, py{35,36,37}-django2.1-{sqlite3,postgresql,mysql}-{redis,memcached,pylibmc,locmem,filebased}, - py{35,36,37,38}-django2.2-{sqlite3,postgresql,mysql}-{redis,memcached,pylibmc,locmem,filebased}, - py{36,37,38}-django3.0-{sqlite3,postgresql,mysql}-{redis,memcached,pylibmc,locmem,filebased}, - py{36,37,38}-django3.1-{sqlite3,postgresql,mysql}-{redis,memcached,pylibmc,locmem,filebased}, + py{35,36,37,38,39}-django2.2-{sqlite3,postgresql,mysql}-{redis,memcached,pylibmc,locmem,filebased}, + py{36,37,38,39}-django3.0-{sqlite3,postgresql,mysql}-{redis,memcached,pylibmc,locmem,filebased}, + py{36,37,38,39}-django3.1-{sqlite3,postgresql,mysql}-{redis,memcached,pylibmc,locmem,filebased}, [testenv] basepython = @@ -12,6 +12,7 @@ basepython = py36: python3.6 py37: python3.7 py38: python3.8 + py39: python3.9 deps = django2.0: Django>=2.0,<2.1 django2.1: Django>=2.1,<2.2