Add tox environments to gate pecan against openstack/gnocchi

Change-Id: Ic5b513f9668685c8ab831ba411abfca519ec2e87
This commit is contained in:
Ryan Petrello
2015-05-27 11:13:14 -07:00
parent e12bb3492b
commit 0dbaa162b7

18
tox.ini
View File

@@ -189,6 +189,24 @@ commands = tox -e py27 --notest # ensure a virtualenv is built
{envdir}/src/magnum/.tox/py27/bin/pip install -U {toxinidir} # install pecan-dev
tox -e py27
[testenv:gnocchi-stable]
whitelist_externals = sh
basepython = python2.7
changedir = {envdir}/src
commands = pip install --download {envdir}/src --pre --no-deps --no-clean --no-use-wheel gnocchi
sh -c "find -iname 'gnocchi*.tar.gz' | xargs tar --strip-components 1 -xf"
tox -e py27-mysql-file --notest
{envdir}/src/.tox/py27-mysql-file/bin/pip install -U {toxinidir} # install pecan-dev
tox -e py27-mysql-file
[testenv:gnocchi-tip]
basepython = python2.7
deps = -egit+http://git.openstack.org/openstack/gnocchi#egg=gnocchi
changedir = {envdir}/src/gnocchi
commands = tox -e py27-mysql-file --notest # ensure a virtualenv is built
{envdir}/src/gnocchi/.tox/py27-mysql-file/bin/pip install -U {toxinidir} # install pecan-dev
tox -e py27-mysql-file
[testenv:storyboard-tip]
basepython = python2.7
deps = -egit+http://git.openstack.org/openstack-infra/storyboard#egg=storyboard