Add Constraints support

To be co-installable with other OpenStack projects and have consistent
testing it's a good idea (tm) to use constraints when creating tox
environments.

Change-Id: I753eba5de69388d98b616eef7d12054539b279f8
This commit is contained in:
Tony Breeds 2016-12-21 11:06:57 +11:00
parent 5161b10042
commit 7b625eb002
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ skipsdist = True
[testenv]
sitepackages = False
usedevelop = True
install_command = pip install -U --force-reinstall {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}
LANG=en_US.UTF-8
LANGUAGE=en_US:en