Add tox config for Python and Django additions.

This commit is contained in:
Jannis Leidel 2020-11-26 09:40:27 +01:00
parent e3bd439961
commit 19766a7469
No known key found for this signature in database
GPG key ID: C795956FB489DCA9

View file

@ -5,6 +5,7 @@ minversion = 1.8
envlist =
py27-dj111
py37-dj{111,22}
{py36,py37,py38}-dj{30,31}
py37-check
[testenv]
@ -17,6 +18,8 @@ deps =
coverage
dj111: Django>=1.11,<2.0
dj22: Django>=2.2,<2.3
dj30: Django>=3.0,<3.1
dj31: Django>=3.1,<3.2
[testenv:py37-check]
@ -31,4 +34,6 @@ commands =
[gh-actions]
python =
2.7: py27
3.6: py36
3.7: py37
3.8: py38