diff options
author | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2018-11-07 21:17:08 -0800 |
---|---|---|
committer | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2018-11-07 21:17:08 -0800 |
commit | b89bfac8c2980ac9c68598da19fbe97596e772a8 (patch) | |
tree | 469d5949c8c97d6ca41f96e59448bb46a68eaec7 | |
parent | 26fc7a76a06c83eae2a75a262953b3d8d9bb00b3 (diff) |
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 <tbramwell@linuxfoundation.org>
-rw-r--r-- | tox.ini | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |