2011-10-25 16:50:08 -07:00
|
|
|
[tox]
|
2012-03-21 10:34:46 -04:00
|
|
|
envlist = py26,py27,pep8
|
2011-10-25 16:50:08 -07:00
|
|
|
|
|
|
|
[testenv]
|
2012-03-21 10:34:46 -04:00
|
|
|
setenv = VIRTUAL_ENV={envdir}
|
2012-12-25 00:02:54 -06:00
|
|
|
LANG=en_US.UTF-8
|
|
|
|
LANGUAGE=en_US:en
|
|
|
|
LC_ALL=C
|
|
|
|
OS_STDOUT_NOCAPTURE=False
|
|
|
|
OS_STDERR_NOCAPTURE=False
|
|
|
|
|
2011-12-30 14:27:36 -08:00
|
|
|
deps = -r{toxinidir}/tools/pip-requires
|
2012-06-14 14:14:25 -04:00
|
|
|
-r{toxinidir}/tools/test-requires
|
2012-12-25 00:02:54 -06:00
|
|
|
commands = python setup.py testr --testr-args='{posargs}'
|
2012-06-14 14:14:25 -04:00
|
|
|
|
2011-12-30 14:27:36 -08:00
|
|
|
[testenv:pep8]
|
2013-05-10 18:15:49 -04:00
|
|
|
commands = pep8 --repeat --show-source --ignore=E711,E712,E125,E126 --exclude=.venv,.tox,dist,doc,*egg .
|
2011-12-30 14:27:36 -08:00
|
|
|
|
2012-03-21 10:34:46 -04:00
|
|
|
[testenv:venv]
|
|
|
|
commands = {posargs}
|
2012-12-25 00:02:54 -06:00
|
|
|
|
|
|
|
[testenv:cover]
|
|
|
|
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
|
|
|
|
|
|
|
[tox:jenkins]
|
|
|
|
downloadcache = ~/cache/pip
|