Merge "Update tox.ini"

This commit is contained in:
Zuul 2018-03-13 03:50:11 +00:00 committed by Gerrit Code Review
commit e36685242f

26
tox.ini
View File

@ -1,5 +1,5 @@
[tox]
envlist = pep8,py27dj{18,19,110},py35,releasenotes,npm
envlist = pep8,py27,py35,py35dj20,releasenotes,npm
minversion = 2.3.2
skipsdist = True
@ -32,32 +32,12 @@ setenv =
{[testenv]setenv}
commands = {[unit_tests]commands}
[testenv:py27dj18]
commands =
pip install -U django>=1.8,<1.9
{[unit_tests]commands}
[testenv:py27dj19]
commands =
pip install -U django>=1.9,<1.10
{[unit_tests]commands}
[testenv:py27dj110]
commands =
pip install -U django>=1.10,<1.11
{[unit_tests]commands}
[testenv:py27dj111]
commands =
pip install -U django>=1.11,<2.0
{[unit_tests]commands}
[testenv:py35dj20]
basepython = python3.5
deps =
-r{toxinidir}/test-requirements.txt
commands =
pip install -U --pre django
pip install django>=2.0,<2.1
{[unit_tests]commands}
[unit_tests]
@ -157,7 +137,7 @@ commands = {envpython} {toxinidir}/manage.py {posargs}
basepython = python3.5
deps = {[testenv:manage]deps}
commands =
pip install -U --pre django
pip install django>=2.0,<2.1
{[testenv:manage]commands}
[flake8]