language: python
python:
  - "2.6"
  - "2.7"
  - "3.2"
  - "3.3"
before_install:
  - export DJANGO_SETTINGS_MODULE=appconf.test_settings
install:
  - pip install -e .
  - pip install https://github.com/django/django/archive/${DJANGO}.zip#egg=django
  - pip install -r requirements/tests.txt
before_script:
  - flake8 appconf --ignore=E501
script:
  - coverage run --branch --source=appconf `which django-admin.py` test appconf
  - coverage report --omit=appconf/test*
env:
  - DJANGO=1.3.7
  - DJANGO=1.4.5
  - DJANGO=1.5.1
  - DJANGO=1.7.4
  - DJANGO=master

matrix:
  exclude:
    - python: "3.2"
      env: DJANGO=1.3.7
    - python: "3.2"
      env: DJANGO=1.4.5
    - python: "3.3"
      env: DJANGO=1.3.7
    - python: "3.3"
      env: DJANGO=1.4.5

language: python
python:
  - "2.6"
  - "2.7"
  - "3.2"
  - "3.3"
before_install:
  - export DJANGO_SETTINGS_MODULE=appconf.test_settings
install:
  - pip install -e .
  - pip install https://github.com/django/django/archive/${DJANGO}.zip#egg=django
  - pip install -r requirements/tests.txt
before_script:
  - flake8 appconf --ignore=E501
script:
  - coverage run --branch --source=appconf `which django-admin.py` test appconf
  - coverage report --omit=appconf/test*
env:
  - DJANGO=1.3.7
  - DJANGO=1.4.5
  - DJANGO=1.5.1
  - DJANGO=1.7.4
  - DJANGO=master

matrix:
  exclude:
    - python: "3.2"
      env: DJANGO=1.3.7
    - python: "3.2"
      env: DJANGO=1.4.5
    - python: "3.3"
      env: DJANGO=1.3.7
    - python: "3.3"
      env: DJANGO=1.4.5
    - python: "2.6"
      env: DJANGO=1.7.4
    - python: "2.6"
      env: DJANGO=master

Exclude Python 2.6 from Django 1.7+ tests
Exclude Python 2.6 from Django 1.7+ tests