diff options
author | Joe Gordon <joe.gordon0@gmail.com> | 2015-06-04 16:56:11 +0900 |
---|---|---|
committer | Joe Gordon <joe.gordon0@gmail.com> | 2015-06-04 16:56:11 +0900 |
commit | d37c19a13fb32424f9cf021cbef416cd2cfde53b (patch) | |
tree | da57db41227fe89951bf4356f0e48aa4758b2cdc /tox.ini | |
parent | 072ab6cd5aa129bb052def9a1ae3e3480227ccf5 (diff) | |
download | python-novaclient-d37c19a13fb32424f9cf021cbef416cd2cfde53b.tar.gz |
Add docs tox env
Just like in nova, lets add a 'docs' env to here so you can simply run
'tox -edocs' and build the docs which get published to
http://docs.openstack.org/developer/python-novaclient/
Change-Id: Ie381a78477b60b4b9981576d75c911cb0deb5696
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,6 +1,6 @@ # noted to use py34 you need virtualenv >= 1.11.4 [tox] -envlist = py26,py27,py33,py34,pypy,pep8 +envlist = py26,py27,py33,py34,pypy,pep8,docs minversion = 1.6 skipsdist = True @@ -26,6 +26,12 @@ commands = flake8 {posargs} [testenv:venv] commands = {posargs} +[testenv:docs] +commands = + python setup.py build_sphinx + + + [testenv:functional] setenv = OS_TEST_PATH = ./novaclient/tests/functional |