language: python
python:
  - "2.7"
  - "3.3"
env:
  global:
    - PYTHONPATH=.
  matrix:
    - DJANGO=Django==1.5.4
    - DJANGO=Django==1.4.8
    - DJANGO=https://github.com/django/django/archive/1.6b4.zip
    - DJANGO=https://github.com/django/django/archive/master.zip

install:
  - "pip install $DJANGO --use-mirrors"

before_script:
  - sh -c "if [ '$DJANGO' = 'Django==1.5.4' ] || [ '$DJANGO' = 'Django==1.4.8' ]; then pip install django-discover-runner; fi"

script:
  - python testproject/manage.py test

matrix:
  allow_failures:
    - env: DJANGO=https://github.com/django/django/archive/master.zip

language: python
python:
  - "2.7"
  - "3.3"
env:
  global:
    - PYTHONPATH=.
  matrix:
    - DJANGO=Django==1.5.4
    - DJANGO=https://github.com/django/django/archive/1.6b4.zip
    - DJANGO=https://github.com/django/django/archive/master.zip

install:
  - "pip install $DJANGO --use-mirrors"

before_script:
  - sh -c "if [ '$DJANGO' = 'Django==1.5.4' ]; then pip install django-discover-runner; fi"

script:
  - python testproject/manage.py test

matrix:
  allow_failures:
    - env: DJANGO=https://github.com/django/django/archive/master.zip

Remove Django 1.4.8 from test matrix
Remove Django 1.4.8 from test matrix
