language: python

python:
  - "2.6"
  - "2.7"

env:
  - DJANGO=Django<1.5
  - DJANGO=Django<1.6
  - DJANGO=https://www.djangoproject.com/m/releases/1.6/Django-1.6b4.tar.gz

matrix:
  allow_failures:
    # Allow failures for unreleased Django version
    - env: DJANGO=https://www.djangoproject.com/m/releases/1.6/Django-1.6b4.tar.gz

# command to install dependencies
install:
  - pip install -q $DJANGO --use-mirrors
  - pip install -r requirements.txt --use-mirrors

# command to run tests
script: python setup.py test

language: python

python:
  - 2.7

env:
  - DJANGO=Django<1.8
  - DJANGO=Django<1.9
  - DJANGO=Django==1.9rc1

# command to install dependencies
install:
  - pip install -q $DJANGO --use-mirrors
  - pip install -r requirements.txt --use-mirrors

# command to run tests
script: python setup.py test

Test with all supported Django releases.
Test with all supported Django releases.
