From 4f81c419947e2793e3eda4ce8f3664058b5a5d2c Mon Sep 17 00:00:00 2001 From: "ChangBo Guo(gcb)" Date: Tue, 19 Dec 2017 13:21:37 +0800 Subject: Use 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: Iba311cc69ec5272d8beb433e3589c53f371d5d0a --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 7df46f5..6aad1b7 100644 --- a/tox.ini +++ b/tox.ini @@ -43,11 +43,13 @@ commands = {posargs} commands = python setup.py test --coverage --coverage-package-name=oslo_db --testr-args='{posargs}' [testenv:docs] +deps = -r{toxinidir}/doc/requirements.txt commands = doc8 -e .rst CONTRIBUTING.rst HACKING.rst README.rst doc/source - python setup.py build_sphinx + sphinx-build -b html doc/source doc/build/html [testenv:releasenotes] +deps = -r{toxinidir}/doc/requirements.txt commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [flake8] -- cgit v1.2.1