Skip to content

Commit

Permalink
Added tox file for testing on multiple Django versions
Browse files Browse the repository at this point in the history
  • Loading branch information
spookylukey committed Jan 2, 2014
1 parent 5980bf5 commit 0ef5b6c
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
.tox
6 changes: 6 additions & 0 deletions README
Expand Up @@ -20,3 +20,9 @@ See usage.txt in the docs for more advanced use cases.
To run tests:

./manage.py test mailer


To run tests on all versions:

pip install tox
tox
20 changes: 20 additions & 0 deletions tox.ini
@@ -0,0 +1,20 @@
[tox]
envlist = py27-django14, py27-django15, py27-django16

[testenv]
commands = ./manage.py test mailer

[testenv:py27-django14]
basepython = python2.7
deps =
Django==1.4.10

[testenv:py27-django15]
basepython = python2.7
deps =
Django==1.5.5

[testenv:py27-django16]
basepython = python2.7
deps =
Django==1.6.1

0 comments on commit 0ef5b6c

Please sign in to comment.