summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorNguyen Hai <nguyentrihai93@gmail.com>2018-07-07 11:07:38 +0900
committerNguyen Hai <nguyentrihai93@gmail.com>2018-07-16 01:26:52 +0000
commitb65459e69defe5fb6b0388df0a74a90249ca053e (patch)
tree694a744c2af057b2185e53f902480506234be458 /tox.ini
parent0c3a15618b9e629dbdecb51cfde686637d08fd55 (diff)
downloadglance_store-b65459e69defe5fb6b0388df0a74a90249ca053e.tar.gz
Follow the new PTI for document build
For compliance with the Project Testing Interface as described in: [1] https://governance.openstack.org/tc/reference/project-testing-interface.html [2] http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html [3] http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html Change-Id: I06d510a44b9e8c0024f5e41f10f4446e18bf86cc
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 733351c..e146b6e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -15,10 +15,12 @@ commands = ostestr --slowest {posargs}
[testenv:docs]
basepython = python3
-commands = python setup.py build_sphinx
+deps = -r{toxinidir}/doc/requirements.txt
+commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:releasenotes]
basepython = python3
+deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -a -E -W -d releasenotes/build/.doctrees -b html releasenotes/source releasenotes/build/html
[testenv:pep8]