summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorGuoqiang Ding <dingguoqiang@cloudin.cn>2017-12-28 23:03:42 +0800
committerGuoqiang Ding <dingguoqiang@cloudin.cn>2017-12-28 23:59:44 +0800
commitd68f26ab95032b6880d18ad6c04e4d7c09b63629 (patch)
tree2f6d2b99bf5c5e9f17b93d9bc864fc08a4f5c5bb /tox.ini
parente386d5dbe53fce42d467c5d38c6048c25b32f245 (diff)
downloadpython-novaclient-d68f26ab95032b6880d18ad6c04e4d7c09b63629.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: Iace251446bafbd8963bc5a073de50ade583f6e46
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini14
1 files changed, 11 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 2ffc89a5..ba4a4c14 100644
--- a/tox.ini
+++ b/tox.ini
@@ -32,12 +32,20 @@ commands = bandit -r novaclient -n5 -x tests
commands = {posargs}
[testenv:docs]
+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 =
- python setup.py build_sphinx
+ 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
[testenv:functional]
basepython = python2.7