
This commit makes to generate a plugin list for the registry document and, also fixes a python3 incompatibility and docs warnings in generate-grenade-plugins-list.sh. And this commit also removes doc/source/plugin-registry.rst because it's generated by the script. Change-Id: I391ca452f2e99e899ded8e4bcb5649a4511a7696
27 lines
568 B
INI
27 lines
568 B
INI
[tox]
|
|
envlist = bashate
|
|
minversion = 1.6
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
install_command = pip install -U {opts} {packages}
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
deps = -r{toxinidir}/test-requirements.txt
|
|
passenv = GENERATE_GRENADE_PLUGIN_LIST
|
|
|
|
[testenv:venv]
|
|
commands = {posargs}
|
|
|
|
[testenv:bashate]
|
|
commands =
|
|
bash -c "ls *.sh prep-* stop-* upgrade-* from-*/upgrade-* functions | xargs bashate -v {posargs}"
|
|
|
|
[testenv:docs]
|
|
whitelist_externals = bash
|
|
setenv =
|
|
TOP_DIR={toxinidir}
|
|
INSTALL_SHOCCO=true
|
|
commands =
|
|
python setup.py build_sphinx
|
|
bash tools/build_docs.sh
|