summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJoe Gordon <joe.gordon0@gmail.com>2015-06-04 16:56:11 +0900
committerJoe Gordon <joe.gordon0@gmail.com>2015-06-04 16:56:11 +0900
commitd37c19a13fb32424f9cf021cbef416cd2cfde53b (patch)
treeda57db41227fe89951bf4356f0e48aa4758b2cdc /tox.ini
parent072ab6cd5aa129bb052def9a1ae3e3480227ccf5 (diff)
downloadpython-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.ini8
1 files changed, 7 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index f3e88641..9f17a0e3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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