jenkins-job-builder/tox.ini
Paul Belanger 96211e74d6 Add python26 support
Change-Id: I1e4b388135ce73f34ba594943c4ae7e5f2dadeba
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
2013-07-19 23:29:29 -04:00

31 lines
800 B
INI

[tox]
envlist = pep8, pyflakes, py26, py27
[tox:jenkins]
downloadcache = ~/cache/pip
[testenv]
setenv VIRTUAL_ENV={envdir}
SUBUNIT_FORMATTER=tee testr_subunit_log
OS_STDOUT_NOCAPTURE=False
deps = -r{toxinidir}/tools/pip-requires
-r{toxinidir}/tools/test-requires
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
deps = pep8==1.3.3
commands = pep8 --repeat --show-source --ignore=E125 --exclude=.venv,.tox,dist,doc,build,*egg . {posargs}
[testenv:pyflakes]
deps = pyflakes
commands = pyflakes jenkins_jobs tests setup.py
[testenv:compare-xml-old]
commands = jenkins-jobs test -o .test/old/out/ .test/old/config/
[testenv:compare-xml-new]
commands = jenkins-jobs test -o .test/new/out/ .test/new/config/
[testenv:venv]
commands = {posargs}