[docs] Update python version used for building docs 11/69611/2
authorCristina Pauna <cristina.pauna@enea.com>
Wed, 29 Jan 2020 17:58:15 +0000 (19:58 +0200)
committerCristina Pauna <cristina.pauna@enea.com>
Fri, 31 Jan 2020 15:15:03 +0000 (17:15 +0200)
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

tox.ini

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