Sync tox environment with upper-constraint of requirements

Added upper-constraints reference while installing requirements
in tox environment.

Change-Id: I4732d1128aefb57af1598a2c704e86c1d9509b2d
Closes-Bug: #1662408
This commit is contained in:
Abhishek Kekane 2017-02-07 09:52:36 +05:30
parent 70f58e2a68
commit 7645ab489d

View File

@ -5,7 +5,7 @@ skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/test-requirements.txt