2012-05-16 17:30:46 -04:00
|
|
|
[tox]
|
|
|
|
envlist = py26,py27,pep8
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
setenv = VIRTUAL_ENV={envdir}
|
2012-12-27 15:26:50 -08:00
|
|
|
LANG=en_US.UTF-8
|
|
|
|
LANGUAGE=en_US:en
|
|
|
|
LC_ALL=C
|
|
|
|
|
2012-05-16 17:30:46 -04:00
|
|
|
deps = -r{toxinidir}/tools/pip-requires
|
|
|
|
-r{toxinidir}/tools/test-requires
|
2012-12-27 15:26:50 -08:00
|
|
|
commands = python setup.py testr --testr-args="{posargs}"
|
2012-05-16 17:30:46 -04:00
|
|
|
|
|
|
|
[testenv:pep8]
|
|
|
|
deps = pep8
|
2013-03-22 14:59:57 +00:00
|
|
|
commands = pep8 --repeat --show-source --exclude=openstack swiftclient setup.py tests
|
2012-05-16 17:30:46 -04:00
|
|
|
|
|
|
|
[testenv:venv]
|
|
|
|
commands = {posargs}
|
|
|
|
|
|
|
|
[testenv:cover]
|
2012-12-27 15:26:50 -08:00
|
|
|
commands = python setup.py testr --coverage
|
2012-05-16 17:30:46 -04:00
|
|
|
|
|
|
|
[tox:jenkins]
|
|
|
|
downloadcache = ~/cache/pip
|