aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorTom Christie2013-02-04 20:37:09 +0000
committerTom Christie2013-02-04 20:37:09 +0000
commit8e846bdf52f03d0733ac73e418152800e582b898 (patch)
treecd7034d5573f1e264798a618c88addc4d2f45ce0 /.travis.yml
parentd9b73e15c87c3a7f11d6bea5ffd6118f86e40051 (diff)
parent97f2b994951605ffdef08159be450d1e77762bf9 (diff)
downloaddjango-rest-framework-8e846bdf52f03d0733ac73e418152800e582b898.tar.bz2
Merge branch 'py3k' into 2.2
Conflicts: rest_framework/relations.py rest_framework/serializers.py rest_framework/tests/relations_hyperlink.py rest_framework/tests/relations_slug.py
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml22
1 files changed, 18 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 0dc87837..662ea5c8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,16 +3,30 @@ language: python
python:
- "2.6"
- "2.7"
+ - "3.2"
+ - "3.3"
env:
- - DJANGO=https://github.com/django/django/zipball/master
- - DJANGO=django==1.4.3 --use-mirrors
- - DJANGO=django==1.3.5 --use-mirrors
+ - DJANGO=https://www.djangoproject.com/download/1.5c1/tarball/
+ - DJANGO="django==1.4.3 --use-mirrors"
+ - DJANGO="django==1.3.5 --use-mirrors"
install:
- pip install $DJANGO
- - pip install django-filter==0.5.4 --use-mirrors
+ - "if [[ ${TRAVIS_PYTHON_VERSION::1} != '3' ]]; then pip install django-filter==0.5.4 --use-mirrors; fi"
+ - "if [[ ${TRAVIS_PYTHON_VERSION::1} == '3' ]]; then pip install https://github.com/alex/django-filter/tarball/master; fi"
- export PYTHONPATH=.
script:
- python rest_framework/runtests/runtests.py
+
+matrix:
+ exclude:
+ - python: "3.2"
+ env: DJANGO="django==1.4.3 --use-mirrors"
+ - python: "3.2"
+ env: DJANGO="django==1.3.5 --use-mirrors"
+ - python: "3.3"
+ env: DJANGO="django==1.4.3 --use-mirrors"
+ - python: "3.3"
+ env: DJANGO="django==1.3.5 --use-mirrors"