tox.ini (zun-6.0.0) | : | tox.ini (zun-7.0.0) | ||
---|---|---|---|---|
skipping to change at line 16 | skipping to change at line 16 | |||
[testenv] | [testenv] | |||
usedevelop = True | usedevelop = True | |||
install_command = pip install {opts} {packages} | install_command = pip install {opts} {packages} | |||
whitelist_externals = bash | whitelist_externals = bash | |||
find | find | |||
rm | rm | |||
setenv = | setenv = | |||
VIRTUAL_ENV={envdir} | VIRTUAL_ENV={envdir} | |||
PYTHONWARNINGS=default::DeprecationWarning | PYTHONWARNINGS=default::DeprecationWarning | |||
deps = -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/ upper/master} | deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/up per/master} | |||
-r{toxinidir}/requirements.txt | -r{toxinidir}/requirements.txt | |||
-r{toxinidir}/test-requirements.txt | -r{toxinidir}/test-requirements.txt | |||
commands = | commands = | |||
find . -type f -name "*.py[c|o]" -delete | find . -type f -name "*.py[c|o]" -delete | |||
stestr run {posargs} | stestr run {posargs} | |||
stestr slowest | stestr slowest | |||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY | passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY | |||
skipping to change at line 131 | skipping to change at line 131 | |||
# NOTE(sheel.rana): `tox -e fast8` cab be used to run pep8 command only for | # NOTE(sheel.rana): `tox -e fast8` cab be used to run pep8 command only for | |||
# updated code instead for running whole code base. | # updated code instead for running whole code base. | |||
# Use same environment directory as pep8 env to save space and install time. | # Use same environment directory as pep8 env to save space and install time. | |||
envdir = {toxworkdir}/pep8 | envdir = {toxworkdir}/pep8 | |||
commands = | commands = | |||
{toxinidir}/tools/fast8.sh | {toxinidir}/tools/fast8.sh | |||
[testenv:releasenotes] | [testenv:releasenotes] | |||
basepython = python3 | basepython = python3 | |||
deps = -r{toxinidir}/doc/requirements.txt | deps = {[testenv:docs]deps} | |||
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html | commands = sphinx-build -a -E -W -d releasenotes/build/doctrees --keep-going -b html releasenotes/source releasenotes/build/html | |||
[testenv:genconfig] | [testenv:genconfig] | |||
basepython = python3 | basepython = python3 | |||
envdir = {toxworkdir}/venv | envdir = {toxworkdir}/venv | |||
commands = | commands = | |||
oslo-config-generator --config-file etc/zun/zun-config-generator.conf | oslo-config-generator --config-file etc/zun/zun-config-generator.conf | |||
[testenv:genpolicy] | [testenv:genpolicy] | |||
basepython = python3 | basepython = python3 | |||
commands = | commands = | |||
oslopolicy-sample-generator --config-file etc/zun/zun-policy-generator.conf | oslopolicy-sample-generator --config-file etc/zun/zun-policy-generator.conf | |||
[testenv:api-ref] | [testenv:api-ref] | |||
basepython = python3 | basepython = python3 | |||
deps = -r{toxinidir}/doc/requirements.txt | deps = {[testenv:docs]deps} | |||
commands = | commands = | |||
rm -rf api-ref/build | rm -rf api-ref/build | |||
sphinx-build -W --keep-going -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html | sphinx-build -W --keep-going -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html | |||
[testenv:lower-constraints] | [testenv:lower-constraints] | |||
basepython = python3 | basepython = python3 | |||
deps = | deps = | |||
-c{toxinidir}/lower-constraints.txt | -c{toxinidir}/lower-constraints.txt | |||
-r{toxinidir}/test-requirements.txt | -r{toxinidir}/test-requirements.txt | |||
-r{toxinidir}/requirements.txt | -r{toxinidir}/requirements.txt | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added |