40 lines
1 KiB
INI
40 lines
1 KiB
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 = py26_django13, py26_django14, py27_django13, py27_django14,
|
||
|
py26_django15, py27_django15, py33_django15
|
||
|
|
||
|
[testenv]
|
||
|
commands = {envpython} setup.py test
|
||
|
|
||
|
[testenv:py26_django13]
|
||
|
basepython = python2.6
|
||
|
deps = Django==1.3.7
|
||
|
|
||
|
[testenv:py26_django14]
|
||
|
basepython = python2.6
|
||
|
deps = Django==1.4.5
|
||
|
|
||
|
[testenv:py27_django13]
|
||
|
basepython = python2.7
|
||
|
deps = Django==1.3.7
|
||
|
|
||
|
[testenv:py27_django14]
|
||
|
basepython = python2.7
|
||
|
deps = Django==1.4.5
|
||
|
|
||
|
[testenv:py26_django15]
|
||
|
basepython = python2.6
|
||
|
deps = https://www.djangoproject.com/download/1.5c2/tarball/
|
||
|
|
||
|
[testenv:py27_django15]
|
||
|
basepython = python2.7
|
||
|
deps = https://www.djangoproject.com/download/1.5c2/tarball/
|
||
|
|
||
|
[testenv:py33_django15]
|
||
|
basepython = python3.3
|
||
|
deps = https://www.djangoproject.com/download/1.5c2/tarball/
|