diff --git a/tox.ini b/tox.ini index 0a5a5b85..c8add65d 100644 --- a/tox.ini +++ b/tox.ini @@ -7,18 +7,21 @@ sitepackages=False stxdir = {toxinidir}/.. [testenv] -install_command = pip install -U {opts} {packages} +install_command = pip install \ + -v -v -v \ + -c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/stable/stein/upper-constraints.txt} \ + -U {opts} {packages} setenv = - VIRTUAL_ENV={envdir} - OS_STDOUT_CAPTURE=1 - OS_STDERR_CAPTURE=1 - OS_DEBUG=1 - OS_LOG_CAPTURE=1 + VIRTUAL_ENV={envdir} + OS_STDOUT_CAPTURE=1 + OS_STDERR_CAPTURE=1 + OS_DEBUG=1 + OS_LOG_CAPTURE=1 deps = - -r{toxinidir}/requirements.txt - -r{toxinidir}/test-requirements.txt + -r{toxinidir}/requirements.txt + -r{toxinidir}/test-requirements.txt whitelist_externals = - bash + bash [testenv:bashate] # Treat all E* codes as Errors rather than warnings using: -e 'E*'