mongo-python-driver/tox.ini
2013-05-24 16:26:36 -04:00

40 lines
756 B
INI

# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py25, py26, py27, py31, py32, py33, pypy, jython
[testenv]
commands =
{envpython} setup.py --no_ext test
deps =
nose
[testenv:py25]
setenv =
PIP_INSECURE = 1
deps =
gevent
simplejson
{[testenv]deps}
[testenv:py26]
deps =
gevent
{[testenv]deps}
[testenv:py27]
deps =
gevent
{[testenv]deps}
# PIP_INSECURE doesn't work with Jython
[testenv:jython]
commands =
{envpython} -m easy_install nose simplejson
{envpython} setup.py --no_ext test
deps =