Merge "Use upper-constraints in tox tests"

This commit is contained in:
Zuul 2018-12-19 08:21:50 +00:00 committed by Gerrit Code Review
commit 828fd1e063
1 changed files with 1 additions and 0 deletions

View File

@ -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'