Merge "Manage constraints with testenv install_command"

This commit is contained in:
Zuul 2021-07-06 06:54:56 +00:00 committed by Gerrit Code Review
commit f3554b5726
1 changed files with 1 additions and 2 deletions

View File

@ -14,8 +14,8 @@ setenv = VIRTUAL_ENV={envdir}
whitelist_externals = /bin/bash
rm
find
install_command = pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
@ -40,7 +40,6 @@ commands = python setup.py testr --coverage --testr-args='{posargs}'
[testenv:docs]
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
commands = sphinx-build -W -b html doc/source doc/build/html