summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2017-12-18 13:54:23 -0600
committerMonty Taylor <mordred@inaugust.com>2017-12-18 14:44:25 -0600
commit853dbddc2259fef333f0b5f3e6f215357e071a0b (patch)
tree4ca67cb32d607e1bff851752c6b5b83008f4ae6c /tox.ini
parent85116fcc7e9c8439e9760a4d315d46733e7bcb10 (diff)
downloadpython-designateclient-853dbddc2259fef333f0b5f3e6f215357e071a0b.tar.gz
Split doc requirements into their own file
We don't need sphinx in the test virtualenvs, but we do need it for docs. Change-Id: I8ae98d08090e2e391ba725ddd5ff0125a03c8d47 Depends-On: Ie0c9f24df09255e871f904e079b68809144b36b4
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 5 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index bedd449..0fa1b2e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -25,8 +25,11 @@ commands =
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
[testenv:docs]
-commands = rm -rf doc/build
- python setup.py build_sphinx
+deps =
+ -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
+ -r{toxinidir}/requirements.txt
+ -r{toxinidir}/doc/requirements.txt
+commands = sphinx-build -b html doc/source doc/build/html
[testenv:flake8]
commands = flake8