2011-12-30 14:54:19 -08:00
|
|
|
[tox]
|
2013-06-01 19:40:09 -05:00
|
|
|
envlist = py26,py27,py33,pep8
|
2011-12-30 14:54:19 -08:00
|
|
|
|
|
|
|
[testenv]
|
2012-05-16 10:40:33 -04:00
|
|
|
setenv = VIRTUAL_ENV={envdir}
|
2012-12-24 19:58:11 -06:00
|
|
|
LANG=en_US.UTF-8
|
|
|
|
LANGUAGE=en_US:en
|
|
|
|
LC_ALL=C
|
|
|
|
|
2013-05-18 07:17:04 -07:00
|
|
|
deps = -r{toxinidir}/requirements.txt
|
|
|
|
-r{toxinidir}/test-requirements.txt
|
2012-12-24 19:58:11 -06:00
|
|
|
commands = python setup.py testr --testr-args='{posargs}'
|
2011-12-30 14:54:19 -08:00
|
|
|
|
|
|
|
[testenv:pep8]
|
2013-05-18 07:13:38 -07:00
|
|
|
commands = flake8
|
2011-12-30 14:54:19 -08:00
|
|
|
|
2012-05-16 10:40:33 -04:00
|
|
|
[testenv:venv]
|
|
|
|
commands = {posargs}
|
|
|
|
|
|
|
|
[testenv:cover]
|
2012-12-24 19:58:11 -06:00
|
|
|
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
2012-05-16 10:40:33 -04:00
|
|
|
|
|
|
|
[tox:jenkins]
|
|
|
|
downloadcache = ~/cache/pip
|
2013-05-18 07:13:38 -07:00
|
|
|
|
|
|
|
[flake8]
|
2013-08-05 17:50:29 -03:00
|
|
|
ignore = E12,E711,E721,E712,F841,F811,F821,H102,H302,H306,H403,H404,H501
|
2013-05-18 07:13:38 -07:00
|
|
|
show-source = True
|
|
|
|
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
|