Update the tox.ini for build docs

Update the tox.ini configure file about [testenv:docs]

Change-Id: I6ec237c83d86989056f15df673c1574cf573ea4f
This commit is contained in:
zhu.rong 2015-08-20 14:44:16 +08:00
parent e3519c810b
commit 874b26c84a
1 changed files with 2 additions and 5 deletions

View File

@ -5,7 +5,7 @@ skipsdist = True
[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
install_command = pip install -U {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
DISCOVER_DIRECTORY=murano/tests/unit
@ -25,10 +25,7 @@ commands = {posargs}
commands = {toxinidir}/tools/cover.sh {posargs}
[testenv:docs]
commands =
rm -rf doc/html doc/build
rm -rf doc/source/apidoc doc/source/api
python setup.py build_sphinx
commands = python setup.py build_sphinx
[testenv:pyflakes]
deps = flake8