summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorGuoqiang Ding <dingguoqiang@cloudin.cn>2017-12-28 23:07:09 +0800
committerGuoqiang Ding <dingguoqiang@cloudin.cn>2017-12-28 16:16:28 +0000
commit42e0037cd055d81d9452f046c347f8e469d27350 (patch)
tree139b1164722469a3a498694830e859f1445de8c7 /tox.ini
parent5e00034d8e0c82dfa904997c36bf15e684fe9961 (diff)
downloadpython-openstackclient-42e0037cd055d81d9452f046c347f8e469d27350.tar.gz
Update new documentation PTI jobs
For compliance with the Project Testing Interface as described in [1]. For more detailed information, please refer to [2]. [1] https://governance.openstack.org/tc/reference/project-testing-interface.html [2] http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html Change-Id: I7e8c47dead1e019e8705db3ff7559dd39b1d90d9
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini14
1 files changed, 12 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 8b5454f4..ca30150d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -105,10 +105,20 @@ commands =
oslo_debug_helper -t openstackclient/tests {posargs}
[testenv:docs]
-commands = 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:releasenotes]
-commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
+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 -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[flake8]
show-source = True