diff options
author | jiansong <jian.song@easystack.cn> | 2017-12-19 00:37:04 -0800 |
---|---|---|
committer | Sean McGinnis <sean.mcginnis@huawei.com> | 2017-12-21 18:23:48 -0600 |
commit | 7d76c405e4bdc40ab405707ebb4203f5ca11377c (patch) | |
tree | 1385f00c8bf0008629a682219608c8d81d6780a9 /tox.ini | |
parent | ab0185bfc6e8797a35a2274c2a5ee03afb03dd60 (diff) | |
download | python-cinderclient-7d76c405e4bdc40ab405707ebb4203f5ca11377c.tar.gz |
Follow the new PTI for document build
For compliance with the Project Testing Interface as described in:
https://governance.openstack.org/tc/reference/project-testing-interface.html
For more detials information, please refer to:
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
Change-Id: I7615e33c0d00c56b3ee6cb856a0553e32a1664c6
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -48,10 +48,17 @@ commands = coverage xml -o cover/coverage.xml [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] +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] |