language: python

python:
  - "2.5"
  - "2.6"
  - "2.7"

env:
  - DJANGO=Django==1.2.7 SOUTH=1
  - DJANGO=Django==1.3.7 SOUTH=1
  - DJANGO=Django==1.4.5 SOUTH=1
  - DJANGO=Django==1.4.5 SOUTH=1
  - DJANGO=Django==1.5 SOUTH=1
  - DJANGO=https://github.com/django/django/tarball/master SOUTH=1
  - DJANGO=Django==1.4.5 SOUTH=0

install:
  - pip install $DJANGO --use-mirrors
  - pip install coverage coveralls --use-mirrors
  - sh -c "if [ '$SOUTH' = '1' ]; then pip install South==0.7.6; fi"

script: coverage run -a --branch --include="model_utils/*" --omit="model_utils/tests/*" setup.py test

after_success: coveralls

matrix:
  exclude:
    - python: "2.5"
      env: DJANGO=Django==1.5 SOUTH=1
    - python: "2.5"
      env: DJANGO=https://github.com/django/django/tarball/master SOUTH=1

language: python

python:
  - "2.6"
  - "2.7"

env:
  - DJANGO=Django==1.2.7 SOUTH=1
  - DJANGO=Django==1.3.7 SOUTH=1
  - DJANGO=Django==1.4.5 SOUTH=1
  - DJANGO=Django==1.4.5 SOUTH=1
  - DJANGO=Django==1.5 SOUTH=1
  - DJANGO=https://github.com/django/django/tarball/master SOUTH=1
  - DJANGO=Django==1.4.5 SOUTH=0

install:
  - pip install $DJANGO --use-mirrors
  - pip install coverage coveralls --use-mirrors
  - sh -c "if [ '$SOUTH' = '1' ]; then pip install South==0.7.6; fi"

script: coverage run -a --branch --include="model_utils/*" --omit="model_utils/tests/*" setup.py test

after_success: coveralls

Drop Python 2.5 support from Travis tests
Drop Python 2.5 support from Travis tests

Coveralls doesn't work with Python 2.5 so it can't be tested
