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:
Tin Lam 2018-06-13 23:33:56 -05:00
parent 902caee084
commit d5249d0f05
1 changed files with 3 additions and 2 deletions

View File

@ -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