summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormrichomme <morgan.richomme@orange.com>2019-11-29 11:11:27 +0100
committermrichomme <morgan.richomme@orange.com>2019-11-29 11:14:52 +0100
commiteb7de50defa4087cf7d027b533ba41691d397f47 (patch)
tree513d382f6cf453d48bdd0c6afafc5d317b69d953
parentfc1d7e4fec848ebd3036573c35fe7e8ca4fc491b (diff)
force Python3 use
Issue-ID: DOC-419 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I8a043280da97745b5f418df14557a4ea2e4b72d6
-rw-r--r--tox.ini4
1 files changed, 4 insertions, 0 deletions
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