summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkihiro Motoki <amotoki@gmail.com>2017-07-09 01:34:39 +0000
committerAkihiro Motoki <amotoki@gmail.com>2017-07-10 13:04:57 +0000
commit71217e2004fb36874dd0e8d915d0d939f2b37eed (patch)
tree3bf196f71675be20ffe533ed71415485c71f5218
parent8629b628cb1d9bd6ae90f5e6c58e8eab99c2aa50 (diff)
Improve doctest and doc8 test
doctest and doc8 requires that ChangeLog file exists. To deal with this, doctest is invoked via 'python setup.py build_sphinx' as python setup.py generates ChangeLog file via pbr. As a result, doc8 --ignore-path is no longer needed. Change-Id: I0fbd9c5187266c1f52627dcce072015c01af644f
Notes
Notes (review): Code-Review+2: ChangBo Guo(gcb) <glongwave@gmail.com> Code-Review+2: Davanum Srinivas (dims) <davanum@gmail.com> Workflow+1: Davanum Srinivas (dims) <davanum@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 11 Jul 2017 19:19:53 +0000 Reviewed-on: https://review.openstack.org/481877 Project: openstack/futurist Branch: refs/heads/master
-rw-r--r--tox.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 59259d4..8d9475f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -26,8 +26,8 @@ commands = python setup.py test --coverage --testr-args='{posargs}'
26[testenv:py27] 26[testenv:py27]
27commands = 27commands =
28 python setup.py testr --slowest --testr-args='{posargs}' 28 python setup.py testr --slowest --testr-args='{posargs}'
29 sphinx-build -b doctest doc/source doc/build 29 python setup.py build_sphinx -b doctest
30 doc8 --ignore-path "doc/source/user/history.rst" doc/source 30 doc8 doc/source
31 31
32[testenv:docs] 32[testenv:docs]
33commands = python setup.py build_sphinx 33commands = python setup.py build_sphinx