summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Petrello <lists@ryanpetrello.com>2015-05-27 11:13:14 -0700
committerRyan Petrello <lists@ryanpetrello.com>2015-05-27 12:44:54 -0700
commit0dbaa162b790a1d68ac7a4a4de8f641c01b3ff44 (patch)
treeab2b768ecfbfd786cfdd391ea2459908a6b2f094
parente12bb3492bc9cfeabde829ffcc10d8c9f019cf58 (diff)
downloadpecan-0dbaa162b790a1d68ac7a4a4de8f641c01b3ff44.tar.gz
Add tox environments to gate pecan against openstack/gnocchi
Change-Id: Ic5b513f9668685c8ab831ba411abfca519ec2e87
-rw-r--r--tox.ini18
1 files changed, 18 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 4922c36..a9bfc81 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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