language: python
python:
  - "2.6"
  - "2.7"
  - "3.3"
  - "pypy"
# test against different versions of Django
env:
  - DJANGO_VERSION=">=1.3,<1.4"
  - DJANGO_VERSION=">=1.4,<1.5"
  - DJANGO_VERSION=">=1.5,<1.6"
# command to install dependencies
install: pip install --use-mirrors . -r requirements-test.txt Django$DJANGO_VERSION
# command to run tests
script:
  - coverage run --source=issues -m django.bin.django-admin test --settings=issues.test_settings --noinput issues
  - coveralls

matrix:
  # exclude incompatible combinations of python+django
  exclude:
    - python: "3.3"
      env: DJANGO_VERSION=">=1.3,<1.4"
    - python: "3.3"
      env: DJANGO_VERSION=">=1.4,<1.5"
  # experimental builds
  allow_failures:
    - python: "3.3"
    - python: "pypy"

notifications:
  email: false

language: python
python:
  - "2.6"
  - "2.7"
  - "3.3"
  - "pypy"
# test against different versions of Django
env:
  - DJANGO_VERSION=">=1.3,<1.4"
  - DJANGO_VERSION=">=1.4,<1.5"
  - DJANGO_VERSION=">=1.5,<1.6"
# command to install dependencies
install:
install:
  - pip install --use-mirrors . -r requirements-test.txt Django$DJANGO_VERSION
  - if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then pip install --use-mirrors -U https://bitbucket.org/andrewgodwin/south/get/tip.zip; fi
# command to run tests
script:
  - coverage run --source=issues -m django.bin.django-admin test --settings=issues.test_settings --noinput issues
  - coveralls

matrix:
  # exclude incompatible combinations of python+django
  exclude:
    - python: "3.3"
      env: DJANGO_VERSION=">=1.3,<1.4"
    - python: "3.3"
      env: DJANGO_VERSION=">=1.4,<1.5"
  # experimental builds
  allow_failures:
    - python: "3.3"
    - python: "pypy"

notifications:
  email: false

Use the latest South build when testing Python 3
Use the latest South build when testing Python 3