Add Folsom tests to tox

Change-Id: I0cc43bc6a22e42f9bc9ad9cb9571e5391e4cd240
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2012-11-19 17:49:35 +01:00
parent c942064bbe
commit 8d4287ad8e
2 changed files with 26 additions and 1 deletions

View File

@ -0,0 +1,17 @@
https://github.com/openstack/nova/zipball/2012.2#egg=nova
nose
coverage
pep8>=1.0
mock
mox
# NOTE(dhellmann): Ming is necessary to provide the Mongo-in-memory
# implementation of MongoDB. The original source for Ming is at
# http://sourceforge.net/project/merciless but there does not seem to
# be a way to point to a "zipball" of the latest HEAD there, and we
# need features present only in that version. I forked the project to
# github to make it easier to install, then ended up making some
# changes to it so it would be compatible with PyMongo's API.
https://github.com/dreamhost/Ming/zipball/master#egg=Ming
https://github.com/openstack/glance/zipball/2012.2#egg=glance
https://github.com/openstack/keystone/zipball/2012.2#egg=keystone
setuptools-git>=0.4

10
tox.ini
View File

@ -1,5 +1,5 @@
[tox]
envlist = py26,py27,pep8
envlist = py26,py27,py26-folsom,py27-folsom,pep8
[testenv]
deps = -r{toxinidir}/tools/test-requires
@ -25,3 +25,11 @@ commands = pep8 --repeat --show-source ceilometer setup.py bin/ceilometer-agent-
[testenv:venv]
commands = {posargs}
[testenv:py26-folsom]
deps = -r{toxinidir}/tools/test-requires-folsom
-r{toxinidir}/tools/pip-requires
[testenv:py27-folsom]
deps = -r{toxinidir}/tools/test-requires-folsom
-r{toxinidir}/tools/pip-requires