summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhongShengping <chdzsp@163.com>2018-03-02 09:08:19 +0800
committerZhongShengping <chdzsp@163.com>2018-03-02 10:29:49 +0800
commit92b96644eb2db08ec4367161f5a0b08403065348 (patch)
treeaafb3aea72f90582cc3903bdf802770c02c66c00
parentcfc489700a514904761d1c3a86a5e1a02c2d027a (diff)
downloadoslo-context-92b96644eb2db08ec4367161f5a0b08403065348.tar.gz
Add -W for document build
For more detials information, please refer to: http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html Change-Id: I16c100d98b63526a9d2fb1497763c1670954b3d6
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 4ebe118..039a870 100644
--- a/tox.ini
+++ b/tox.ini
@@ -25,7 +25,7 @@ commands = {posargs}
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
-r{toxinidir}/doc/requirements.txt
-commands = sphinx-build -b html doc/source doc/build/html
+commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:cover]
commands = python setup.py test --coverage --coverage-package-name=oslo_context --testr-args='{posargs}'