2012-01-07 19:34:41 -08:00
|
|
|
[tox]
|
|
|
|
envlist = py26,py27,pep8
|
|
|
|
|
|
|
|
[testenv]
|
2012-02-25 12:25:56 -08:00
|
|
|
setenv = VIRTUAL_ENV={envdir}
|
2012-06-03 13:03:21 -04:00
|
|
|
NOSE_WITH_OPENSTACK=1
|
|
|
|
NOSE_OPENSTACK_COLOR=1
|
|
|
|
NOSE_OPENSTACK_RED=0.05
|
|
|
|
NOSE_OPENSTACK_YELLOW=0.025
|
|
|
|
NOSE_OPENSTACK_SHOW_ELAPSED=1
|
|
|
|
NOSE_OPENSTACK_STDOUT=1
|
2012-01-07 19:34:41 -08:00
|
|
|
deps = -r{toxinidir}/tools/pip-requires
|
|
|
|
-r{toxinidir}/tools/test-requires
|
2012-06-03 13:03:21 -04:00
|
|
|
commands = nosetests {posargs}
|
2012-01-07 19:34:41 -08:00
|
|
|
|
2012-05-05 13:51:32 -07:00
|
|
|
[tox:jenkins]
|
2012-01-07 19:34:41 -08:00
|
|
|
downloadcache = ~/cache/pip
|
|
|
|
|
|
|
|
[testenv:pep8]
|
2012-05-24 06:56:15 -07:00
|
|
|
deps = pep8==1.1
|
2012-07-02 08:48:28 -04:00
|
|
|
commands = python tools/hacking.py --ignore=N4 --repeat --show-source --exclude=.venv,.tox,dist,doc,*egg .
|
2012-01-07 19:34:41 -08:00
|
|
|
|
2012-05-25 15:27:03 -04:00
|
|
|
[testenv:cover]
|
2012-06-03 13:03:21 -04:00
|
|
|
setenv = NOSE_WITH_COVERAGE=1
|
2012-01-07 19:34:41 -08:00
|
|
|
|
|
|
|
[testenv:venv]
|
|
|
|
commands = {posargs}
|
2012-06-25 14:00:31 -05:00
|
|
|
|
|
|
|
[testenv:full]
|
|
|
|
sitepackages = True
|
|
|
|
deps = -r{toxinidir}/tools/pip-requires
|
|
|
|
-r{toxinidir}/tools/test-requires
|
|
|
|
-r{toxinidir}/tools/test-options
|