language: python

python:
  - "2.7"
  - "3.2"

env:
  - DJANGO=https://www.djangoproject.com/download/1.5a1/tarball/
  - DJANGO=django==1.4.1 --use-mirrors
  - DJANGO=django==1.3.3 --use-mirrors

install:
  - pip install $DJANGO
  - pip install django-filter==0.5.4 --use-mirrors
  - pip install six --use-mirrors
  - export PYTHONPATH=.

script:
  - python rest_framework/runtests/runtests.py

language: python

python:
  - "2.7"
  - "3.2"

env:
  - DJANGO=https://www.djangoproject.com/download/1.5a1/tarball/
  - DJANGO=django==1.4.2 --use-mirrors
  - DJANGO=django==1.3.3 --use-mirrors

install:
  - pip install $DJANGO
  - pip install django-filter==0.5.4 --use-mirrors
  - pip install six --use-mirrors
  - export PYTHONPATH=.

script:
  - python rest_framework/runtests/runtests.py

matrix:
  exclude:
    - python: "3.2"
      env: DJANGO=django==1.4.2 --use-mirrors
    - python: "3.2"
      env: DJANGO=django==1.3.3 --use-mirrors

Exclude python3.2 for django < 1.5
Exclude python3.2 for django < 1.5
