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:
Akihiro Motoki 2017-07-08 21:02:44 +00:00
parent a8927dcf39
commit 9663f2f56f
1 changed files with 5 additions and 1 deletions

View File

@ -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