[trivial] Tune tox.ini
Change-Id: Ifc7a9b23e5bdc6fd590b7afdf24149da17827170
This commit is contained in:
parent
c0d98d5fe5
commit
bb89fc80b4
8
tox.ini
8
tox.ini
|
@ -68,17 +68,19 @@ commands = python setup.py test --coverage --testr-args="^(?!senlin\.tests\.func
|
|||
deps = -r{toxinidir}/test-requirements.txt
|
||||
sphinxcontrib-httpdomain
|
||||
commands =
|
||||
rm -rf doc/build api-ref/build
|
||||
python setup.py build_sphinx
|
||||
sphinx-build -b html api-ref/source api-ref/build/html
|
||||
sphinx-build -W -b html api-ref/source api-ref/build/html
|
||||
|
||||
[testenv:releasenotes]
|
||||
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
|
||||
[testenv:api-ref]
|
||||
# options below needs an update once upstream gate/ci is ready
|
||||
# options below are needed by CI scripts for test and publish
|
||||
# the install_command can be dropped when upstream infra supports constraints
|
||||
install_command = pip install -U --force-reinstall {opts} {packages}
|
||||
commands =
|
||||
sphinx-build -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
|
||||
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
|
||||
|
||||
[flake8]
|
||||
# Temporarily disable complaints about docstring for public module/class/method
|
||||
|
|
Loading…
Reference in New Issue