Skip to content

Commit

Permalink
Merge pull request #197 from cdent/test-gnocchi
Browse files Browse the repository at this point in the history
Add optional testing of current gabbi with current gnocchi
  • Loading branch information
cdent committed Jan 2, 2017
2 parents d804413 + aa20c28 commit 3592a19
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ matrix:
- env: TOXENV=pypy
- env: TOXENV=pep8
- env: TOXENV=py27-pytest
- env: TOXENV=gnocchi
- python: 3.5
env: TOXENV=py35
- python: 3.5
Expand All @@ -26,6 +27,8 @@ matrix:
env: TOXENV=py36
- python: 3.6
env: TOXENV=py36-pytest
allow_failures:
- env: TOXENV=gnocchi

notifications:
irc: "chat.freenode.net#gabbi"
9 changes: 9 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,15 @@ commands = python setup.py testr --coverage --testr-args="{posargs}"
[testenv:pytest-cov]
commands = py.test --cov=gabbi gabbi/tests --cov-config .coveragerc --cov-report html

[testenv:gnocchi]
basepython = python2.7
deps = -egit+http://git.openstack.org/openstack/gnocchi#egg=gnocchi
tox
changedir = {envdir}/src/gnocchi
commands = tox -e py27-gabbi --notest # ensure a virtualenv is built
{envdir}/src/gnocchi/.tox/py27-gabbi/bin/pip install -U {toxinidir} # install gabbi
tox -e py27-gabbi

[testenv:docs]
commands =
rm -rf doc/build
Expand Down

0 comments on commit 3592a19

Please sign in to comment.