Fixes the several problems/errors caused by tox
Change-Id: I267c52ae96cc91e017141bf6bde9b8a7067a87fe
This commit is contained in:
parent
e745b5f47c
commit
f375220f0b
13
tox.ini
13
tox.ini
@ -18,7 +18,10 @@ deps =
|
|||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
commands = stestr run {posargs}
|
commands = stestr run {posargs}
|
||||||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
passenv =
|
||||||
|
http_proxy
|
||||||
|
https_proxy
|
||||||
|
no_proxy
|
||||||
|
|
||||||
[testenv:debug-py36]
|
[testenv:debug-py36]
|
||||||
basepython = python3.6
|
basepython = python3.6
|
||||||
@ -39,6 +42,8 @@ commands =
|
|||||||
doc8 doc/source
|
doc8 doc/source
|
||||||
# Run bashate checks
|
# Run bashate checks
|
||||||
bash -c "find sahara_plugin_mapr -iname '*.sh' -print0 | xargs -0 bashate -v"
|
bash -c "find sahara_plugin_mapr -iname '*.sh' -print0 | xargs -0 bashate -v"
|
||||||
|
allowlist_externals =
|
||||||
|
bash
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
@ -50,7 +55,7 @@ deps =
|
|||||||
commands =
|
commands =
|
||||||
rm -rf doc/build/html
|
rm -rf doc/build/html
|
||||||
sphinx-build -W -b html doc/source doc/build/html
|
sphinx-build -W -b html doc/source doc/build/html
|
||||||
whitelist_externals =
|
allowlist_externals =
|
||||||
rm
|
rm
|
||||||
|
|
||||||
[testenv:pdf-docs]
|
[testenv:pdf-docs]
|
||||||
@ -59,7 +64,7 @@ commands =
|
|||||||
rm -rf doc/build/pdf
|
rm -rf doc/build/pdf
|
||||||
sphinx-build -W -b latex doc/source doc/build/pdf
|
sphinx-build -W -b latex doc/source doc/build/pdf
|
||||||
make -C doc/build/pdf
|
make -C doc/build/pdf
|
||||||
whitelist_externals =
|
allowlist_externals =
|
||||||
make
|
make
|
||||||
rm
|
rm
|
||||||
|
|
||||||
@ -70,7 +75,7 @@ deps =
|
|||||||
commands =
|
commands =
|
||||||
rm -rf releasenotes/build releasenotes/html
|
rm -rf releasenotes/build releasenotes/html
|
||||||
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||||
whitelist_externals = rm
|
allowlist_externals = rm
|
||||||
|
|
||||||
[testenv:debug]
|
[testenv:debug]
|
||||||
# It runs tests from the specified dir (default is sahara_plugin_mapr/tests)
|
# It runs tests from the specified dir (default is sahara_plugin_mapr/tests)
|
||||||
|
Loading…
Reference in New Issue
Block a user