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:
Dougal Matthews 2017-02-17 13:20:54 +00:00
parent 6e5cbd3b5a
commit b27e78676f

View File

@ -50,6 +50,7 @@ commands = {posargs}
#set PYTHONHASHSEED=0 to prevent wsmeext.sphinxext from randomly failing.
[testenv:docs]
basepython = python2.7
setenv = PYTHONHASHSEED=0
commands = python setup.py build_sphinx