29 lines
637 B
INI
29 lines
637 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 =
|
|
simplejson
|
|
{[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 =
|
|
|