Support Django 4.1, drop 1.11.
[django-cas-provider.git] / tox.ini
diff --git a/tox.ini b/tox.ini
index 2a4c5fb..da84103 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,31 +1,32 @@
 [tox]
 envlist=clear,
-    d1{5,6}-py{26,27,32,33},
-    d{17,18,d}-py{27,32,33,34},
+    d20-py{37},
+    d21-py{37},
+    d22-py{37,38,39},
+    d{30,31}-py{37,38,39},
+    d32-py{37,38,39,310},
+    d40-py{38,39,310},
+    d41-py{38,39,310,311},
     stats
 
 [testenv]
 commands=coverage run --source=cas_provider --append --branch cas_provider_examples/manage.py test simple
 deps=
-    d15: Django>=1.5,<1.6
-    d16: Django>=1.6,<1.7
-    d17: Django>=1.7,<1.8
-    d18: https://www.djangoproject.com/download/1.8b2/tarball/
-    dd: https://github.com/django/django/zipball/master
-    d15,d16: https://bitbucket.org/andrewgodwin/south/get/e2c9102ee033.zip
+    d111: Django>=1.11,<2.0
+    d20: Django>=2.0,<2.1
+    d21: Django>=2.1,<2.2
+    d22: Django>=2.2,<3.0
+    d30: Django>=3.0,<3.1
+    d31: Django>=3.1,<3.2
+    d32: Django>=3.2,<4.0
+    d40: Django>=4.0,<4.1
+    d41: Django>=4.1,<4.2
     coverage
-basepython=
-    py26: python2.6
-    py27: python2.7
-    py32: python3.2
-    py33: python3.3
-    py34: python3.4
+usedevelop=True
 
 [testenv:clear]
-basepython=python3.4
 commands=coverage erase
 
 [testenv:stats]
-basepython=python3.4
 commands=coverage html