Skip to content

Instantly share code, notes, and snippets.

@chrishas35
Created March 18, 2014 01:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrishas35/9611820 to your computer and use it in GitHub Desktop.
Save chrishas35/9611820 to your computer and use it in GitHub Desktop.
# 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,
py33_django16
[testenv]
commands =
{envpython} -V
which django-admin.py
django-admin.py version
{envpython} setup.py test
[testenv:py26_django14]
basepython = python2.6
deps = Django==1.4.8
[testenv:py27_django14]
basepython = python2.7
deps = Django==1.4.8
[testenv:py26_django15]
basepython = python2.6
deps = Django==1.5.4
[testenv:py27_django15]
basepython = python2.7
deps = Django==1.5.4
[testenv:py27_django16]
basepython = python2.7
deps = Django==1.6.1
[testenv:py33_django15]
basepython = python3.3
deps = Django==1.5.4
[testenv:py33_django16]
basepython = python3.3
deps = Django==1.6.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment