aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorTom Christie2013-02-01 11:58:55 +0000
committerTom Christie2013-02-01 11:58:55 +0000
commitd9c7b1c58523d63c8118d88f44ebfdf5f35e942a (patch)
tree6efc5a04556b1800756034791ce8aed082f25d4d /.travis.yml
parent8021bb5d5089955b171173e60dcc0968e13d29ea (diff)
parent0f0e76d8b1b7a7a28b4ce2c6d8f7ecc89e7219ff (diff)
downloaddjango-rest-framework-d9c7b1c58523d63c8118d88f44ebfdf5f35e942a.tar.bz2
Merge branch 'p3k' of https://github.com/linovia/django-rest-framework into working
Conflicts: rest_framework/authentication.py rest_framework/relations.py rest_framework/serializers.py rest_framework/settings.py rest_framework/tests/authentication.py rest_framework/tests/genericrelations.py rest_framework/tests/generics.py rest_framework/tests/relations_hyperlink.py rest_framework/tests/relations_nested.py rest_framework/tests/relations_pk.py rest_framework/tests/serializer.py
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml17
1 files changed, 14 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 0dc87837..572e483b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -3,16 +3,27 @@ language: python
python:
- "2.6"
- "2.7"
+ - "3.2"
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 != '3.2' ]]; then pip install django-filter==0.5.4 --use-mirrors; fi"
+ - "if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then pip install https://github.com/alex/django-filter/tarball/master; fi"
+ - "if [[ $DJANGO == 'django==1.3.5 --use-mirrors' ]]; then pip install six --use-mirrors; 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"