Add tox 'docs' env to build Sphinx documentation

As per the governance resolution https://review.openstack.org/119875
projects should have a docs environment in their tox.ini testing
interface.

Change-Id: I5908033d835d35a0650b77b01ff727d81eb79eb0
This commit is contained in:
Antoine Musso 2015-04-21 17:32:18 +02:00
parent 3550c7c08f
commit ba43590ffb
1 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,10 @@ commands = flake8 nodepool
commands =
python setup.py testr --coverage
[testenv:docs]
commands =
python setup.py build_sphinx
[testenv:venv]
commands = {posargs}