Use upper-constraints in tox tests

Change-Id: Ib2ef3b3d0d0733842abad97898114c3dbdab3b7a
This commit is contained in:
Zane Bitter 2018-12-07 14:10:31 +13:00
parent 3bfcd6bceb
commit 1ad0b84e4a
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ skipsdist = True
[testenv] [testenv]
whitelist_externals = bash whitelist_externals = bash
setenv = VIRTUAL_ENV={envdir} setenv = VIRTUAL_ENV={envdir}
install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
deps = -r{toxinidir}/requirements.txt deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi' commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'