diff options
| author | Sean Brant | 2013-03-10 23:41:10 -0500 |
|---|---|---|
| committer | Sean Brant | 2013-03-10 23:41:59 -0500 |
| commit | 7bb2158da93a938f278be300686ffe7bbe7055a7 (patch) | |
| tree | c70746bb53b0bd2263c5a307451e040c3a378fe6 | |
| parent | 2304d011a8fbee8ee6ceb81fe304d2c80a955e01 (diff) | |
| download | pykss-7bb2158da93a938f278be300686ffe7bbe7055a7.tar.bz2 | |
Adds test support for django 1.4 and trunk
| -rw-r--r-- | .travis.yml | 5 | ||||
| -rw-r--r-- | tox.ini | 54 |
2 files changed, 52 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml index ef98664..5723729 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,12 @@ python: - "2.6" - "2.7" - "pypy" +env: + - DJANGO=Django==1.5.0 + - DJANGO=Django==1.4.5 + - DJANGO="-e git+git://github.com/django/django.git#egg=Django" install: + - pip install $DJANGO --use-mirrors - make develop script: - make test @@ -1,11 +1,51 @@ -# Tox (http://codespeak.net/~hpk/tox/) is a tool for running tests -# in multiple virtualenvs. This configuration file will run the -# test suite on all supported python versions. To use it, "pip install tox" -# and then run "tox" from this directory. - [tox] -envlist = py26, py27, pypy +envlist = py26, py27, pypy, py26-django1.4, py27-django1.4, pypy-django1.4, py26-djangotrunk, py27-djangotrunk, pypy-djangotrunk [testenv] commands = python setup.py test -deps = pytest +deps = + django==1.5 + mock + pytest + +[testenv:py26-django1.4] +basepython=python2.6 +deps = + django==1.4.5 + mock + pytest + +[testenv:py27-django1.4] +basepython = python2.7 +deps = + django==1.4.5 + mock + pytest + +[testenv:pypy-django1.4] +basepython = pypy +deps = + django==1.4.5 + mock + pytest + +[testenv:py26-djangotrunk] +basepython=python2.6 +deps = + https://github.com/django/django/tarball/master + mock + pytest + +[testenv:py27-djangotrunk] +basepython = python2.7 +deps = + https://github.com/django/django/tarball/master + mock + pytest + +[testenv:pypy-djangotrunk] +basepython = pypy +deps = + https://github.com/django/django/tarball/master + mock + pytest |
