Django REST Framework / tox.ini

#This file is very NON-DRY because tox currently doesn't support interpolation like configparser does.
#There's a ticket covering this at http://code.google.com/p/pytox/issues/detail?id=17#c0

[tox]
envlist=
    py25-django12,
    py26-django12,
    py27-django12,
    py25-django13,
    py26-django13,
    py27-django13,
	
    py25-django12e,
    py26-django12e,
    py27-django12e,
    py25-django13e,
    py26-django13e,
    py27-django13e

########################################### CORE TESTS ############################################

[testenv]
commands=
    python setup.py test

[testenv:py25-django12]
basepython=python2.5
deps=
    django==1.2.4
    coverage==3.4
    unittest-xml-reporting==1.2
    Pyyaml==3.10

[testenv:py26-django12]
basepython=python2.6
deps=
    django==1.2.4
    coverage==3.4
    unittest-xml-reporting==1.2
	Pyyaml==3.10

[testenv:py27-django12]
basepython=python2.7
deps=
    django==1.2.4
    coverage==3.4
    unittest-xml-reporting==1.2
	Pyyaml==3.10
	
[testenv:py25-django13]
basepython=python2.5
deps=
    django==1.3
    coverage==3.4
    unittest-xml-reporting==1.2
	Pyyaml==3.10
	
[testenv:py26-django13]
basepython=python2.6
deps=
    django==1.3
    coverage==3.4
	unittest-xml-reporting==1.2
	Pyyaml==3.10
	
[testenv:py27-django13]
basepython=python2.7
deps=
    django==1.3
    coverage==3.4
	unittest-xml-reporting==1.2
	Pyyaml==3.10
	
####################################### EXAMPLES ################################################
    
[testenv:py25-django12e]
basepython=python2.5
commands=
	python examples/runtests.py
deps=
    django==1.2.4
    coverage==3.4
	wsgiref==0.1.2
	Pygments==1.4
	httplib2==0.6.0
	Markdown==2.0.3
    unittest-xml-reporting==1.2
	Pyyaml==3.10
	
[testenv:py26-django12e]
basepython=python2.6
commands=
	python examples/runtests.py
deps=
    django==1.2.4
    coverage==3.4
	wsgiref==0.1.2
	Pygments==1.4
	httplib2==0.6.0
	Markdown==2.0.3
    unittest-xml-reporting==1.2
	Pyyaml==3.10
	
[testenv:py27-django12e]
basepython=python2.7
commands=
	python examples/runtests.py
deps=
    django==1.2.4
    coverage==3.4
	wsgiref==0.1.2
	Pygments==1.4
	httplib2==0.6.0
	Markdown==2.0.3
    unittest-xml-reporting==1.2
	Pyyaml==3.10
	
[testenv:py25-django13e]
basepython=python2.5
commands=
	python examples/runtests.py
deps=
    django==1.3
    coverage==3.4
	wsgiref==0.1.2
	Pygments==1.4
	httplib2==0.6.0
	Markdown==2.0.3
    unittest-xml-reporting==1.2
	Pyyaml==3.10
	
[testenv:py26-django13e]
basepython=python2.6
commands=
	python examples/runtests.py
deps=
    django==1.3
    coverage==3.4
	wsgiref==0.1.2
	Pygments==1.4
	httplib2==0.6.0
	Markdown==2.0.3
	unittest-xml-reporting==1.2
	Pyyaml==3.10
	
[testenv:py27-django13e]
basepython=python2.7
commands=
	python examples/runtests.py
deps=
    django==1.3
    coverage==3.4
	wsgiref==0.1.2
	Pygments==1.4
	httplib2==0.6.0
	Markdown==2.0.3
	unittest-xml-reporting==1.2
	Pyyaml==3.10
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.