Add docs environment to tox.ini

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

Change-Id: Ia92b59e9b0db701b152d9c76535d7dcffdacf45d
This commit is contained in:
Monty Taylor 2014-09-08 13:53:46 -07:00
parent 8eb9784bf6
commit 28083e5a7a

View File

@ -69,3 +69,7 @@ commands =
{envbindir}/pip install -r requirements.txt -r test-requirements.txt
{envbindir}/pip install pbr -t {envsitepackagesdir} # work around pbr being build installed in {toxinidir}
python setup.py testr --testr-args='{posargs}'
[testenv:docs]
commands = python setup.py build_sphinx