language: python
sudo: false
python:
 - "2.6"
 - "2.7"
 - "3.3"
 - "3.4"
 - "3.5"
 - "nightly"
env:
  matrix:
   - DJANGO=Django==1.4
   - DJANGO=Django==1.5
   - DJANGO=Django==1.6
   - DJANGO=Django==1.7
   - DJANGO=Django==1.8
   - DJANGO=Django==1.9
install:
 - pip install $DJANGO
 - pip install .
 - pip install coverage
branches:
 only:
  - master
  - develop
  - /^feature\/.+/
  - /^release\/.+/
  - /^hotfix\/.+/
  - /^v[\d\.]+/
script: coverage run --source=environ setup.py test
matrix:
  exclude:
    - python: "2.6"
      env: DJANGO=Django==1.7
    - python: "2.6"
      env: DJANGO=Django==1.8
    - python: "2.6"
      env: DJANGO=Django==1.9
    - python: "3.3"
      env: DJANGO=Django==1.4
    - python: "3.3"
      env: DJANGO=Django==1.5
    - python: "3.4"
      env: DJANGO=Django==1.4
    - python: "3.4"
      env: DJANGO=Django==1.5
    - python: "3.5"
      env: DJANGO=Django==1.4
    - python: "3.5"
      env: DJANGO=Django==1.5
after_success:
  - coverage report
  - pip install --quiet python-coveralls
  - coveralls

language: python
sudo: false
python:
 - "2.7"
 - "3.3"
 - "3.4"
 - "3.5"
 - "nightly"
env:
  matrix:
   - DJANGO=Django==1.8
   - DJANGO=Django==1.9
install:
 - pip install $DJANGO
 - pip install .
 - pip install coverage
branches:
 only:
  - master
  - develop
  - /^feature\/.+/
  - /^release\/.+/
  - /^hotfix\/.+/
  - /^v[\d\.]+/
script: coverage run --source=environ setup.py test
after_success:
  - coverage report
  - pip install --quiet python-coveralls
  - coveralls

Stop testing on unsupported versions of Django
Travis: Stop testing on unsupported versions of Django

Django versions prior to 1.8 are no longer maintained and so insecure:
https://www.djangoproject.com/download/#supported-versions

Removing them leaves all Python 2.6 permutations excluded, so the
redundant entries have also been removed. (Django 1.7 was the last
version to support Python 2.6.)
