Update tox to run against all valid python/django combination.

This commit is contained in:
Emil Stenström 2019-11-23 18:26:37 +01:00
parent 29118b83d6
commit d280fa84a8

17
tox.ini
View file

@ -1,15 +1,20 @@
[tox]
envlist = py{27,33,34}-django{17,18}
envlist = py27-django111,py34-django{111,20},py{35,36,37,38}-django{111,20,21,22}
[tox:travis]
2.7 = py27-django{17,18}
3.3 = py33-django{17,18}
3.4 = py34-django{17,18}
2.7 = py27-django111
3.4 = py34-django{111,20}
3.5 = py35-django{111,20,21,22}
3.6 = py36-django{111,20,21,22}
3.7 = py37-django{111,20,21,22}
3.8 = py37-django{111,20,21,22}
[testenv]
deps =
pytest
pytest-xdist
django17: Django>=1.7,<1.8
django18: Django>=1.8,<1.9
django111: Django>=1.11,<2.0
django20: Django>=2.0,<2.1
django21: Django>=2.1,<2.2
django22: Django>=2.2,<2.3
commands = py.test {posargs}