Fix py27dj18 definition
py27dj18 currently uses Django 1.10 (from upper-constraints.txt). The Django version should be specified explicitly. Change-Id: I23a6dda4da52a0758e2f3e3bff26795c161babb8
This commit is contained in:
parent
a8927dcf39
commit
9663f2f56f
6
tox.ini
6
tox.ini
@ -21,7 +21,6 @@ commands =
|
||||
horizon: {envpython} {toxinidir}/manage.py test --settings=horizon.test.settings {posargs}
|
||||
manage: {envpython} {toxinidir}/manage.py {posargs}
|
||||
py27: {[unit_tests]commands}
|
||||
py27dj18: {[unit_tests]commands}
|
||||
py35: {[unit_tests]commands}
|
||||
openstack_dashboard: {envpython} {toxinidir}/manage.py test --settings=openstack_dashboard.test.settings {posargs}
|
||||
releasenotes: sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
@ -34,6 +33,11 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user