# 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_django14, py26_django15,
          py27_django14, py27_django15, py27_django16, py27_django17,
          py33_django16, py33_django17,
          py34_django16, py34_django17,

[testenv]
commands = {envpython} setup.py test

[testenv:py26_django14]
basepython = python2.6
deps = Django==1.4.12
       shortuuid==0.4
       python-dateutil

[testenv:py27_django14]
basepython = python2.7
deps = Django==1.4.12
       shortuuid==0.4
       python-dateutil

[testenv:py26_django15]
basepython = python2.6
deps = Django==1.5.7
       shortuuid==0.4
       python-dateutil

[testenv:py27_django15]
basepython = python2.7
deps = Django==1.5.7
       shortuuid==0.4
       python-dateutil

[testenv:py27_django16]
basepython = python2.7
deps = Django==1.6.4
       shortuuid==0.4
       python-dateutil

[testenv:py27_django17]
basepython = python2.7
deps = https://www.djangoproject.com/download/1.7b3/tarball/
       shortuuid==0.4
       python-dateutil

[testenv:py33_django15]
basepython = python3.3
deps = Django==1.5.7
       shortuuid==0.4
       python-dateutil

[testenv:py33_django16]
basepython = python3.3
deps = Django==1.6.4
       shortuuid==0.4
       python-dateutil

[testenv:py33_django17]
basepython = python3.3
deps = https://www.djangoproject.com/download/1.7b3/tarball/
       shortuuid==0.4
       python-dateutil

[testenv:py34_django16]
basepython = python3.4
deps = Django==1.6.4
       shortuuid==0.4
       python-dateutil

[testenv:py34_django17]
basepython = python3.4
deps = https://www.djangoproject.com/download/1.7b3/tarball/
       shortuuid==0.4
       python-dateutil

