From 12460429bb91c61e7449cacdd65a0bb035a40646 Mon Sep 17 00:00:00 2001 From: kashewnuts Date: Wed, 23 Jun 2021 00:10:48 +0900 Subject: [PATCH] add matrix to support Django3.2 --- .travis.yml | 1 + setup.py | 2 ++ tox.ini | 6 ++++-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3293f6e2..1f547958 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,7 @@ python: - '3.6' - '3.7' - '3.8' + - '3.9' install: pip install tox-travis tox flake8 coverage codecov after_success: codecov services: redis-server diff --git a/setup.py b/setup.py index d3d2d0cf..fc7c637f 100644 --- a/setup.py +++ b/setup.py @@ -29,11 +29,13 @@ "Framework :: Django :: 2.2", "Framework :: Django :: 3.0", "Framework :: Django :: 3.1", + "Framework :: Django :: 3.2", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", "Topic :: System :: Logging", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", diff --git a/tox.ini b/tox.ini index c44d62a2..7a8f2aac 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,5 @@ [tox] -# Test against latest supported version of each of python 2 and 3 for -# each Django version. +# Test against latest supported version of each of python for each Django version. # # Also, make sure that all python versions used here are included in .travis.yml envlist = @@ -8,6 +7,7 @@ envlist = py{35,36,37}-django2{0,1,2}-celery43-redis3-kombu4, py{36,37,38}-django3{0,1}-celery44-redis3-kombu4, py{36,37,38}-django31-celery50-redis3-kombu5, + py{36,37,38,39}-django32-celery51-redis3-kombu5, py36-django22-celery4{1,2}-redis3-kombu4, py36-django22-celery40-redis2-kombu41, py36-django22-celery3-redis2-kombu3, @@ -31,12 +31,14 @@ deps = celery43: Celery >=4.3, <4.4 celery44: Celery >=4.4, <4.5 celery50: Celery >=5.0, <5.1 + celery51: Celery >=5.1, <5.2 django111: Django >=1.11, <2.0 django20: Django >=2.0, <2.1 django21: Django >=2.1, <2.2 django22: Django >=2.2, <2.3 django30: Django >=3.0, <3.1 django31: Django >=3.1, <3.2 + django32: Django >=3.2, <3.3 -r{toxinidir}/requirements/ci.txt commands = pytest --cov=./test_app --cov=./django_structlog --cov-append test_app