diff --git a/tox.ini b/tox.ini index 0876fd1bb5..20f344d22c 100644 --- a/tox.ini +++ b/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