Force Python 2 for documentation builds
The documentation will fail to build under Python 3 as some of the Sphinx extensions are not compatible. Change-Id: Ifefa59bf9d06d4aa84c0a440d2458cc297a50ec2
This commit is contained in:
parent
6e5cbd3b5a
commit
b27e78676f
1
tox.ini
1
tox.ini
@ -50,6 +50,7 @@ commands = {posargs}
|
|||||||
|
|
||||||
#set PYTHONHASHSEED=0 to prevent wsmeext.sphinxext from randomly failing.
|
#set PYTHONHASHSEED=0 to prevent wsmeext.sphinxext from randomly failing.
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
|
basepython = python2.7
|
||||||
setenv = PYTHONHASHSEED=0
|
setenv = PYTHONHASHSEED=0
|
||||||
commands = python setup.py build_sphinx
|
commands = python setup.py build_sphinx
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user