chore(tox): update tox.ini
This patch set adds command to clean releasenote prior to building releasenotes. This also clean up unnecessary whitelist command. Change-Id: Ib9439235a24132111a56a9e35f0c9640d2892f5e Signed-off-by: Tin Lam <tin@irrational.io>
This commit is contained in:
parent
902caee084
commit
d5249d0f05
5
tox.ini
5
tox.ini
@ -13,7 +13,6 @@ usedevelop = True
|
||||
install_command = pip install {opts} {packages}
|
||||
whitelist_externals =
|
||||
find
|
||||
flake8
|
||||
rm
|
||||
commands =
|
||||
find . -type f -name "*.pyc" -delete
|
||||
@ -45,7 +44,9 @@ commands =
|
||||
[testenv:releasenotes]
|
||||
basepython = python3
|
||||
deps = -r{toxinidir}/doc/requirements.txt
|
||||
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
commands =
|
||||
rm -rf releasenotes/build
|
||||
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
|
||||
[testenv:pep8]
|
||||
basepython = python3
|
||||
|
Loading…
x
Reference in New Issue
Block a user