From: Trevor Bramwell Date: Thu, 8 Nov 2018 05:17:08 +0000 (-0800) Subject: Skip Installing Parse when building documentation X-Git-Tag: 1.1.1~1 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=b89bfac8c2980ac9c68598da19fbe97596e772a8;p=parser.git Skip Installing Parse when building documentation 'usedevelop = True' is set in the tox '[testenv]', so every tox env including documentation will build and install the parser code. Disabling this for the docs and docs-linkcheck environments should speed up builds and feedback on documentation changes. Change-Id: I72780b852ff56608313efb099ad1eeb4b665143b Signed-off-by: Trevor Bramwell --- diff --git a/tox.ini b/tox.ini index b0d1a94..9b755ff 100644 --- a/tox.ini +++ b/tox.ini @@ -25,10 +25,12 @@ commands = bash -c 'cd tosca2heat/tosca-parser; tox' [testenv:docs] +usedevelop = False deps = -rdocs/requirements.txt commands = sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html [testenv:docs-linkcheck] +usedevelop = False deps = -rdocs/requirements.txt commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck