language: python

python:
  - "2.6"
  - "2.7"

env:
  - DJANGO=Django==1.4.10
  - DJANGO=Django==1.5.5
  - DJANGO=Django==1.6.2
  - DJANGO=https://www.djangoproject.com/m/releases/1.7/Django-1.7a1.tar.gz

matrix:
  allow_failures:
    # Allow failures for unreleased Django version
    - env: DJANGO=https://www.djangoproject.com/m/releases/1.7/Django-1.7a1.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.6"
  - "2.7"
  - "3.3"

env:
  - DJANGO=Django==1.4.12
  - DJANGO=Django==1.5.7
  - DJANGO=Django==1.6.4
  - DJANGO=https://www.djangoproject.com/download/1.7b3/tarball/

matrix:
  allow_failures:
    # Allow failures for unreleased Django version
    - env: DJANGO=https://www.djangoproject.com/download/1.7b3/tarball/
    # Allow failures for Python 3.3
    - python: "3.3"
  exclude:
    # Django 1.4 and 1.5 do not fully support Python 3.3
    - env: DJANGO=Django==1.4.12
      python: "3.3"
    - env: DJANGO=Django==1.5.7
      python: "3.3"
    # 1.7 doesn't support Python 2.6 anymore
    - env: DJANGO=https://www.djangoproject.com/download/1.7b3/tarball/
      python: "2.6"

# 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 latest Django and Python 3.3
Test with latest Django and Python 3.3
