tox: Build docs with Python 2.7

The 'list-modules' directive used in some docs does not appear to be
Python 3 compatible, yielding the following error:

  TypeError: unorderable types: NoneType() < str()

Simply use Python 2.7 until such a time as someone wants to investigate
why this happens.

Change-Id: I0be19b056e1c2272df3666626fbd17ec78017bce
This commit is contained in:
Stephen Finucane 2017-03-16 14:57:55 +00:00
parent 2ee6a2a480
commit 06c993d550
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ commands =
commands = {posargs}
[testenv:docs]
basepython = python2.7
commands = python setup.py build_sphinx
[testenv:py27-func-rabbit]