From: mrichomme Date: Fri, 29 Nov 2019 10:11:27 +0000 (+0100) Subject: force Python3 use X-Git-Tag: 6.0.0-ONAP~3837 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F61%2F98961%2F1;p=doc.git force Python3 use Issue-ID: DOC-419 Signed-off-by: mrichomme Change-Id: I8a043280da97745b5f418df14557a4ea2e4b72d6 --- diff --git a/tox.ini b/tox.ini index 17195d4ac..224e786dd 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,7 @@ envlist = docs skipsdist = true [testenv:docs] +basepython = python3 deps = -r{toxinidir}/etc/requirements.txt commands = sphinx-build -j 4 -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html @@ -14,6 +15,7 @@ whitelist_externals = sh [testenv:local] +basepython = python3 deps = -r{toxinidir}/etc/requirements.txt commands = git submodule update --depth 100 --init @@ -24,10 +26,12 @@ whitelist_externals = git [testenv:linkcheck] +basepython = python3 deps = -r{toxinidir}/etc/requirements.txt commands = sphinx-build -j 4 -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck [testenv:spellcheck] +basepython = python3 deps = -r{toxinidir}/etc/requirements.txt sphinxcontrib-spelling