diff options
author | Guoqiang Ding <dingguoqiang@cloudin.cn> | 2017-12-28 23:03:42 +0800 |
---|---|---|
committer | Guoqiang Ding <dingguoqiang@cloudin.cn> | 2017-12-28 23:59:44 +0800 |
commit | d68f26ab95032b6880d18ad6c04e4d7c09b63629 (patch) | |
tree | 2f6d2b99bf5c5e9f17b93d9bc864fc08a4f5c5bb /tox.ini | |
parent | e386d5dbe53fce42d467c5d38c6048c25b32f245 (diff) | |
download | python-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.ini | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -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 |