Merge "Remove doc/build during tox -e docs"

This commit is contained in:
Zuul 2018-07-10 14:40:50 +00:00 committed by Gerrit Code Review
commit a5a9e999e2
1 changed files with 5 additions and 1 deletions

View File

@ -5,6 +5,8 @@ skipsdist = True
[testenv]
usedevelop = True
whitelist_externals =
rm
install_command = pip install {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
@ -38,7 +40,9 @@ commands = python setup.py test --coverage --testr-args='{posargs}'
[testenv:docs]
basepython = python3
commands = python setup.py build_sphinx
commands =
rm -rf doc/build
python setup.py build_sphinx
[testenv:releasenotes]
basepython = python3