5f0bc1a6f1
Fixes bug #1053515 Change-Id: I2b886528c86e0ad5bdae5abf73890366f084e225
32 lines
1.1 KiB
INI
32 lines
1.1 KiB
INI
[tox]
|
|
envlist = py26,py27,pep8,py26-essex,py27-essex
|
|
|
|
[testenv]
|
|
deps = -r{toxinidir}/tools/pip-requires
|
|
-r{toxinidir}/tools/test-requires
|
|
setenv = VIRTUAL_ENV={envdir}
|
|
NOSE_WITH_OPENSTACK=1
|
|
NOSE_OPENSTACK_COLOR=1
|
|
NOSE_OPENSTACK_RED=0.05
|
|
NOSE_OPENSTACK_YELLOW=0.025
|
|
NOSE_OPENSTACK_SHOW_ELAPSED=1
|
|
commands = {toxinidir}/run_tests.sh --no-path-adjustment []
|
|
sitepackages = True
|
|
|
|
[testenv:cover]
|
|
commands = {toxinidir}/run_tests.sh --no-path-adjustment --with-coverage --cover-erase --cover-package=ceilometer --cover-inclusive []
|
|
|
|
[testenv:pep8]
|
|
deps = pep8==1.1
|
|
commands = pep8 --repeat --show-source ceilometer setup.py bin/ceilometer-agent-central bin/ceilometer-agent-compute bin/ceilometer-collector bin/ceilometer-api tests
|
|
|
|
[testenv:py26-essex]
|
|
deps = -r{toxinidir}/tools/pip-requires_essex
|
|
-r{toxinidir}/tools/test-requires
|
|
-r{toxinidir}/tools/test-requires_essex
|
|
|
|
[testenv:py27-essex]
|
|
deps = -r{toxinidir}/tools/pip-requires_essex
|
|
-r{toxinidir}/tools/test-requires
|
|
-r{toxinidir}/tools/test-requires_essex
|