language: python
python:
  - "2.7"
  - "2.6"
env:
  - DJANGO_PACKAGE=Django==1.3.7
  - DJANGO_PACKAGE=Django==1.4.19
  - DJANGO_PACKAGE=Django==1.5.12
  - DJANGO_PACKAGE=Django==1.6.10
  - DJANGO_PACKAGE=Django==1.7.5
install:
  - pip install -q $DJANGO_PACKAGE --use-mirrors
  - python setup.py install
script: make test

language: python
python:
  - "2.7"
  - "2.6"
env:
  - DJANGO_PACKAGE=Django==1.3.7
  - DJANGO_PACKAGE=Django==1.4.19
  - DJANGO_PACKAGE=Django==1.5.12
  - DJANGO_PACKAGE=Django==1.6.10
  - DJANGO_PACKAGE=Django==1.7.5
install:
  - pip install -q $DJANGO_PACKAGE --use-mirrors
  - python setup.py install
script: make test

matrix:
  exclude:
    - python: "2.6"
      env: DJANGO_PACKAGE=Django==1.7.5

Exclude Django 1.7.x to run on Python 2.6 since that's not supported.
Exclude Django 1.7.x to run on Python 2.6 since that's not supported.