From e31b4e5c3e8a902f6ce9bbd19b294494eedf7f1d Mon Sep 17 00:00:00 2001 From: Ildiko Vancsa Date: Fri, 30 May 2014 13:52:31 +0200 Subject: [PATCH] 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 --- tox.ini | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tox.ini b/tox.ini index fbb64896a..d242b3317 100644 --- a/tox.ini +++ b/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