diff --git a/tox.ini b/tox.ini index 6576b41..3c8803b 100644 --- a/tox.ini +++ b/tox.ini @@ -6,6 +6,7 @@ skipsdist = True [testenv] whitelist_externals = bash 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 -r{toxinidir}/test-requirements.txt commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'