From 874b26c84aba969a9286f2aae3db24ff4025fbb0 Mon Sep 17 00:00:00 2001 From: "zhu.rong" Date: Thu, 20 Aug 2015 14:44:16 +0800 Subject: [PATCH] Update the tox.ini for build docs Update the tox.ini configure file about [testenv:docs] Change-Id: I6ec237c83d86989056f15df673c1574cf573ea4f --- tox.ini | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tox.ini b/tox.ini index 6e75cdf85..f6091b0b8 100644 --- a/tox.ini +++ b/tox.ini @@ -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