Clean tox.ini
The parameters of the documentation related environments in tox.ini contain redundant and unnecessary parts. The doc gate job uses the 'venv', which starts a MongoDB instance. Nor the doc gate job, neither the others like packaging, which use this env, need a MongoDB instance. Therefore the 'deps' and the setup-test-env.sh call were removed from the 'venv' section. The 'deps' definition was removed from the 'docs' section also, as it is unnecessary there. Change-Id: Icfb3e9f88724553cc52143fd24de25f8bcf243a0
This commit is contained in:
parent
5a78832251
commit
e31b4e5c3e
6
tox.ini
6
tox.ini
@ -33,14 +33,10 @@ commands =
|
||||
bash tools/config/generate_sample.sh -b . -p ceilometer -o etc/ceilometer
|
||||
|
||||
[testenv:docs]
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands = python setup.py build_sphinx
|
||||
|
||||
[testenv:venv]
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands = bash -x {toxinidir}/setup-test-env.sh {posargs}
|
||||
commands = {posargs}
|
||||
|
||||
[flake8]
|
||||
ignore = None
|
||||
|
Loading…
Reference in New Issue
Block a user