diff options
author | Ryan Petrello <lists@ryanpetrello.com> | 2014-02-13 08:13:08 -0800 |
---|---|---|
committer | Ryan Petrello <lists@ryanpetrello.com> | 2014-02-13 08:39:05 -0800 |
commit | 027b031e45a72079bf09920a98412a43c1800dca (patch) | |
tree | b0a6bb794fe1bbf06a04959e1f4610180730d103 /tox.ini | |
parent | 087ea4f6993c7b2f5f66fff52d46fd318e20b330 (diff) | |
download | pecan-027b031e45a72079bf09920a98412a43c1800dca.tar.gz |
Simplify tox gate tests for OpenStack projects.
I put some tox in your tox so you can tox while you tox.
Change-Id: I2995a0f4ba919b42e90238bb9765958b049e3e57
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 33 |
1 files changed, 9 insertions, 24 deletions
@@ -74,40 +74,25 @@ commands = nosetests -v tests/pecantest 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} +commands = tox -e py26 --notest # ensure a virtualenv is built + {envdir}/src/ceilometer/.tox/py26/bin/pip install {toxinidir} # install pecan-dev + tox -e py26 [testenv:ceilometer-tip] 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} +commands = tox -e py26 --notest # ensure a virtualenv is built + {envdir}/src/ceilometer/.tox/py26/bin/pip install {toxinidir} # install pecan-dev + tox -e py26 [testenv:ironic-tip] basepython = python2.7 deps = -egit+http://git.openstack.org/cgit/openstack/ironic#egg=ironic changedir = {envdir}/src/ironic -commands = pip install -vrrequirements.txt - pip install -vrtest-requirements.txt - {envpython} setup.py develop - {envpython} setup.py testr --slowest --testr-args='{posargs}' +commands = tox -e py27 --notest # ensure a virtualenv is built + {envdir}/src/ironic/.tox/py27/bin/pip install {toxinidir} # install pecan-dev + tox -e py27 [testenv:pep8] deps = pep8 |