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:
Ildiko Vancsa 2014-05-30 13:52:31 +02:00
parent 5a78832251
commit e31b4e5c3e

View File

@ -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