Merge "Small cleanups in tox.ini"

This commit is contained in:
Zuul 2020-05-14 11:46:13 +00:00 committed by Gerrit Code Review
commit 476a65aefa
2 changed files with 5 additions and 3 deletions

View File

@ -11,3 +11,5 @@ sphinxcontrib-apidoc>=0.2.0 # BSD
# For autodoc builds
mock>=2.0.0 # BSD
oslotest>=3.2.0 # Apache-2.0
python-memcached>=1.56 # PSF
etcd3gw>=0.2.0 # Apache-2.0

View File

@ -8,7 +8,7 @@ basepython = python3
whitelist_externals =
find
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/test-requirements.txt
commands =
find . -type f -name "*.pyc" -delete
@ -33,11 +33,11 @@ commands = {posargs}
[testenv:docs]
whitelist_externals = rm
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
commands =
rm -fr doc/build
sphinx-build --keep-going -b html doc/source doc/build/html
sphinx-build -W --keep-going -b html doc/source doc/build/html
[testenv:cover]
setenv =