Add Essex tests

Change-Id: I098888c9d011819a6bca4df532534a39da67e9eb
Signed-off-by: Julien Danjou <julien.danjou@enovance.com>
This commit is contained in:
Julien Danjou 2012-06-04 16:46:26 +02:00
parent 5705468da2
commit a5b7321579
2 changed files with 19 additions and 26 deletions

10
tools/pip-requires_essex Normal file
View File

@ -0,0 +1,10 @@
https://github.com/openstack/openstack-common/zipball/master#egg=openstack.common
https://github.com/openstack/nova/zipball/2012.1#egg=nova
webob
kombu
iso8601
lockfile
netaddr
argparse
sqlalchemy
anyjson==0.3.1

35
tox.ini
View File

@ -1,15 +1,15 @@
[tox]
envlist = py26,py27,pep8
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
deps = -r{toxinidir}/tools/pip-requires
-r{toxinidir}/tools/test-requires
commands = {toxinidir}/run_tests.sh
sitepackages = True
@ -20,27 +20,10 @@ commands = {toxinidir}/run_tests.sh --with-coverage --cover-erase --cover-packag
deps = pep8
commands = pep8 --repeat --show-source ceilometer setup.py bin/ceilometer-agent bin/ceilometer-collector
[testenv:venv]
commands = {posargs}
[testenv:py26-essex]
deps = -r{toxinidir}/tools/pip-requires_essex
-r{toxinidir}/tools/test-requires
[testenv:cover]
commands = nosetests --cover-erase --cover-package=ceilometer --with-xcoverage
[tox:jenkins]
downloadcache = ~/cache/pip
[testenv:jenkins26]
basepython = python2.6
setenv = NOSE_WITH_XUNIT=1
[testenv:jenkins27]
basepython = python2.7
setenv = NOSE_WITH_XUNIT=1
[testenv:jenkinscover]
setenv = NOSE_WITH_XUNIT=1
commands = nosetests --cover-erase --cover-package=ceilometer --with-xcoverage
[testenv:jenkinsvenv]
setenv = NOSE_WITH_XUNIT=1
commands = {posargs}
[testenv:py27-essex]
deps = -r{toxinidir}/tools/pip-requires_essex
-r{toxinidir}/tools/test-requires