Skip Installing Parse when building documentation 39/64739/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Thu, 8 Nov 2018 05:17:08 +0000 (21:17 -0800)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Thu, 8 Nov 2018 05:17:08 +0000 (21:17 -0800)
'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 <tbramwell@linuxfoundation.org>
tox.ini

diff --git a/tox.ini b/tox.ini
index b0d1a94..9b755ff 100644 (file)
--- 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