2012-08-10 16:45:00 -07:00
|
|
|
[tox]
|
2013-09-18 19:34:24 +00:00
|
|
|
minversion = 1.6
|
2013-07-19 23:29:29 -04:00
|
|
|
envlist = pep8, pyflakes, py26, py27
|
2012-08-10 16:45:00 -07:00
|
|
|
|
|
|
|
[tox:jenkins]
|
|
|
|
downloadcache = ~/cache/pip
|
|
|
|
|
2012-09-11 00:53:26 +02:00
|
|
|
[testenv]
|
2013-07-14 19:29:33 +02:00
|
|
|
setenv VIRTUAL_ENV={envdir}
|
|
|
|
SUBUNIT_FORMATTER=tee testr_subunit_log
|
|
|
|
OS_STDOUT_NOCAPTURE=False
|
2013-09-18 19:34:24 +00:00
|
|
|
install_command = pip install {opts} {packages}
|
2012-09-11 00:53:26 +02:00
|
|
|
deps = -r{toxinidir}/tools/pip-requires
|
|
|
|
-r{toxinidir}/tools/test-requires
|
2013-07-14 19:29:33 +02:00
|
|
|
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
2012-09-11 00:53:26 +02:00
|
|
|
|
2012-08-10 16:45:00 -07:00
|
|
|
[testenv:pep8]
|
2012-11-20 22:06:37 -05:00
|
|
|
deps = pep8==1.3.3
|
2013-07-14 19:29:33 +02:00
|
|
|
commands = pep8 --repeat --show-source --ignore=E125 --exclude=.venv,.tox,dist,doc,build,*egg . {posargs}
|
2012-08-10 16:45:00 -07:00
|
|
|
|
|
|
|
[testenv:pyflakes]
|
|
|
|
deps = pyflakes
|
2013-07-14 19:29:33 +02:00
|
|
|
commands = pyflakes jenkins_jobs tests setup.py
|
2012-08-10 16:45:00 -07:00
|
|
|
|
2012-08-31 15:15:39 -07:00
|
|
|
[testenv:compare-xml-old]
|
2012-11-10 15:42:17 -08:00
|
|
|
commands = jenkins-jobs test -o .test/old/out/ .test/old/config/
|
2012-08-31 15:15:39 -07:00
|
|
|
|
|
|
|
[testenv:compare-xml-new]
|
2012-11-10 15:42:17 -08:00
|
|
|
commands = jenkins-jobs test -o .test/new/out/ .test/new/config/
|
2012-08-31 15:15:39 -07:00
|
|
|
|
2012-08-10 16:45:00 -07:00
|
|
|
[testenv:venv]
|
|
|
|
commands = {posargs}
|