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
This commit is contained in:
parent
8629b628cb
commit
71217e2004
4
tox.ini
4
tox.ini
|
@ -26,8 +26,8 @@ commands = python setup.py test --coverage --testr-args='{posargs}'
|
|||
[testenv:py27]
|
||||
commands =
|
||||
python setup.py testr --slowest --testr-args='{posargs}'
|
||||
sphinx-build -b doctest doc/source doc/build
|
||||
doc8 --ignore-path "doc/source/user/history.rst" doc/source
|
||||
python setup.py build_sphinx -b doctest
|
||||
doc8 doc/source
|
||||
|
||||
[testenv:docs]
|
||||
commands = python setup.py build_sphinx
|
||||
|
|
Loading…
Reference in New Issue