Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added tox to the mix.

  • Loading branch information...
commit 4453fa2c931b85fcb42bbd46a8068c50cdcc3af7 1 parent 884318d
@toastdriven toastdriven authored
Showing with 37 additions and 1 deletion.
  1. +2 −1  .gitignore
  2. +35 −0 tox.ini
View
3  .gitignore
@@ -7,4 +7,5 @@ dist
build
MANIFEST
tests/tastypie.db
-.buildinfo
+.buildinfo
+.tox
View
35 tox.ini
@@ -0,0 +1,35 @@
+[tox]
+envlist = py25-1.2.X,py26-1.2.X,py27-1.2.X,py25,py26,py27,docs
+downloadcache = .tox/_download/
+
+[testenv]
+setenv =
+ PYTHONPATH = {toxinidir}/tests
+commands =
+ {toxinidir}/tests/run_all_tests.sh
+deps =
+ django==1.3
+
+[testenv:py25-1.2.X]
+basepython = python2.5
+deps =
+ http://www.djangoproject.com/download/1.2.5/tarball/
+
+[testenv:py26-1.2.X]
+basepython = python2.5
+deps =
+ http://www.djangoproject.com/download/1.2.5/tarball/
+
+[testenv:py27-1.2.X]
+basepython = python2.5
+deps =
+ http://www.djangoproject.com/download/1.2.5/tarball/
+
+[testenv:docs]
+changedir = docs
+deps =
+ sphinx
+commands =
+ sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
+
+
Please sign in to comment.
Something went wrong with that request. Please try again.