aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristina Pauna <cristina.pauna@enea.com>2020-01-29 19:58:15 +0200
committerCristina Pauna <cristina.pauna@enea.com>2020-01-31 17:15:03 +0200
commit527f98c723b96500cef6920c2996b4ebc5a52c29 (patch)
tree5f88ca448baa7e9e18537a89568d22b06767eed7
parent142dc0cedc41f2954cd9141c18f0f4025afdfc98 (diff)
[docs] Update python version used for building docs
The docs verify job was failing because it wasn't able to install dependencies. The python version needs to be updated in order for the docs to be successfully built. Signed-off-by: Cristina Pauna <cristina.pauna@enea.com> Change-Id: I029fd377cce15f1fbe0ce38ed8a15424cce7bf4b
-rw-r--r--tox.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 8898266c1..d7b4d2acd 100644
--- a/tox.ini
+++ b/tox.ini
@@ -13,6 +13,7 @@ envlist =
skipsdist = true
[testenv:docs]
+basepython = python3
deps = -rdocs/requirements.txt
commands =
sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
@@ -20,5 +21,6 @@ commands =
whitelist_externals = echo
[testenv:docs-linkcheck]
+basepython = python3
deps = -rdocs/requirements.txt
commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck