Merge "Clean old output before new doc builds"

This commit is contained in:
Zuul 2018-03-29 17:25:30 +00:00 committed by Gerrit Code Review
commit 0013b9b064

View File

@ -38,8 +38,11 @@ commands =
commands = {posargs}
[testenv:docs]
whitelist_externals = rm
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -b html doc/source doc/build/html
commands =
rm -fr doc/build
sphinx-build -b html doc/source doc/build/html
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'