Make tox config work.
Change-Id: Ic81c7bb0fa2fe5c73200a9195630a0d5bb999e7d
This commit is contained in:
parent
f684bf0b47
commit
48daa427fa
21
tox.ini
21
tox.ini
@ -3,13 +3,16 @@ envlist = py26,py27,pep8
|
||||
|
||||
[testenv]
|
||||
deps = -r{toxinidir}/tools/pip-requires
|
||||
commands = /bin/bash run_tests.sh -N -P
|
||||
commands = nosetests --where=quantum/tests/unit
|
||||
|
||||
[testenv:pep8]
|
||||
commands = /bin/bash run_tests.sh -N --pep8
|
||||
commands = pep8 --repeat --show-source bin/* quantum setup.py
|
||||
|
||||
[testenv:coverage]
|
||||
commands = /bin/bash run_tests.sh -N -P --with-coverage
|
||||
[testenv:pylint]
|
||||
commands = pylint --rcfile=.pylintrc --output-format=parseable quantum
|
||||
|
||||
[testenv:cover]
|
||||
commands = nosetests --with-coverage --cover-html --cover-erase --cover-package=quantum
|
||||
|
||||
[testenv:hudson]
|
||||
downloadcache = ~/cache/pip
|
||||
@ -24,8 +27,12 @@ deps = file://{toxinidir}/.cache.bundle
|
||||
|
||||
[testenv:jenkinspep8]
|
||||
deps = file://{toxinidir}/.cache.bundle
|
||||
commands = /bin/bash run_tests.sh -N --pep8
|
||||
commands = pep8 --repeat --show-source bin/* quantum setup.py
|
||||
|
||||
[testenv:jenkinscoverage]
|
||||
[testenv:jenkinspylint]
|
||||
deps = file://{toxinidir}/.cache.bundle
|
||||
commands = /bin/bash run_tests.sh -N --with-coverage
|
||||
commands = pylint -E --rcfile=.pylintrc --output-format=parseable quantum
|
||||
|
||||
[testenv:jenkinscover]
|
||||
deps = file://{toxinidir}/.cache.bundle
|
||||
commands = nosetests --where=quantum/tests/unit --cover-erase --cover-package=quantum --with-xcoverage
|
||||
|
Loading…
Reference in New Issue
Block a user