Permalink
Browse files

Merge pull request #83 from richleland/tox

Added config file for tox. Closes #31.
  • Loading branch information...
2 parents f882e22 + c384672 commit eca968599d6aad245238e31ad252beab86e938ca @bryanveloso bryanveloso committed Jan 7, 2012
Showing with 37 additions and 3 deletions.
  1. +6 −3 .gitignore
  2. +31 −0 tox.ini
View
9 .gitignore
@@ -1,7 +1,10 @@
-*.pyc
*.db
+*.egg*
*.orig
+*.pyc
.DS_Store
-dist
-build
+.tox
MANIFEST
+build
+dist
+/tests/media
View
31 tox.ini
@@ -0,0 +1,31 @@
+[tox]
+envlist =
+ py27-django13,
+ py27-django12,
+ py26-django13,
+ py26-django12
+
+[testenv]
+changedir = tests
+setenv = PYTHONPATH = {toxinidir}/tests
+commands = django-admin.py test core --settings=settings
+
+[testenv:py27-django13]
+deps =
+ Django>=1.3,<=1.4
+ Pillow
+
+[testenv:py27-django12]
+deps =
+ Django>=1.2,<=1.3
+ Pillow
+
+[testenv:py26-django13]
+deps =
+ Django>=1.3,<=1.4
+ Pillow
+
+[testenv:py26-django12]
+deps =
+ Django>=1.2,<=1.3
+ Pillow

0 comments on commit eca9685

Please sign in to comment.