Skip to content
This repository has been archived by the owner on Nov 25, 2017. It is now read-only.

Test against multiple Python/Django versions #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.egg-info
*.pyc
.coverage
.tox
dist/
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
language: python

python:
- 2.6
- 2.7

env:
- DJANGO=Django==1.4.10
- DJANGO=Django==1.5.5
- DJANGO=Django==1.6.2

install:
- pip install $DJANGO
- pip install nose

script:
- nosetests tests.py
60 changes: 60 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
[tox]
envlist =
py26-1.3, py26-1.4, py26-1.5, py26-1.6,
py27-1.3, py27-1.4, py27-1.5, py27-1.6,


[testenv]
commands = nosetests tests.py


[testenv:py26-1.3]
basepython = python2.6
deps =
django == 1.3.7
nose


[testenv:py26-1.4]
basepython = python2.6
deps =
django == 1.4.10
nose

[testenv:py26-1.5]
basepython = python2.6
deps =
django == 1.5.5
nose

[testenv:py26-1.6]
basepython = python2.6
deps =
django == 1.6.2
nose


[testenv:py27-1.3]
basepython = python2.7
deps =
django == 1.3.7
nose


[testenv:py27-1.4]
basepython = python2.7
deps =
django == 1.4.10
nose

[testenv:py27-1.5]
basepython = python2.7
deps =
django == 1.5.5
nose

[testenv:py27-1.6]
basepython = python2.7
deps =
django == 1.6.2
nose