diff options
author | Ryan Petrello <lists@ryanpetrello.com> | 2013-12-04 11:32:53 -0500 |
---|---|---|
committer | Ryan Petrello <lists@ryanpetrello.com> | 2013-12-04 13:27:08 -0500 |
commit | 4d372ecc8704af9353ca506aac96529fedd4f696 (patch) | |
tree | ec04647d65f356b5d79dcc8e375eaedc45d6faa3 /tox.ini | |
parent | 78045ead82699d124bb50afe942de2884fa2bff7 (diff) | |
download | pecan-4d372ecc8704af9353ca506aac96529fedd4f696.tar.gz |
Run ceilometer tests against py26, not py27.
Ceilometer gating tests require mongodb, which only run successfully on
OpenStack CI's CentOS 6 machines (which are running Python 2.6).
Change-Id: If302b1cfb22a241a1ec32396235b1353c99078ed
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 18 |
1 files changed, 16 insertions, 2 deletions
@@ -71,17 +71,31 @@ changedir = {envdir}/src/wsme commands = nosetests -v tests/pecantest [testenv:ceilometer-stable] -basepython = python2.7 +basepython = python2.6 deps = -egit+http://git.openstack.org/cgit/openstack/ceilometer@stable/havana#egg=ceilometer changedir = {envdir}/src/ceilometer +usedevelop = True +setenv = VIRTUAL_ENV={envdir} + LANG=en_US.UTF-8 + LANGUAGE=en_US:en + LC_ALL=C + EVENTLET_NO_GREENDNS=yes +install_command = pip install -U {opts} {packages} commands = pip install -vrrequirements.txt pip install -vrtest-requirements.txt bash -x run-tests.sh {posargs} [testenv:ceilometer-tip] -basepython = python2.7 +basepython = python2.6 deps = -egit+http://git.openstack.org/cgit/openstack/ceilometer#egg=ceilometer changedir = {envdir}/src/ceilometer +usedevelop = True +setenv = VIRTUAL_ENV={envdir} + LANG=en_US.UTF-8 + LANGUAGE=en_US:en + LC_ALL=C + EVENTLET_NO_GREENDNS=yes +install_command = pip install -U {opts} {packages} commands = pip install -vrrequirements.txt pip install -vrtest-requirements.txt bash -x run-tests.sh {posargs} |