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

language: python
sudo: false
python:
 - "2.7"
 - "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
matrix:
  include:
    - python: "3.3"
      env: DJANGO=Django==1.8
after_success:
  - coverage report
  - pip install --quiet python-coveralls
  - coveralls

Stop testing Django 1.9 with Python 3.3
Travis: Stop testing Django 1.9 with Python 3.3

Since Django 1.9 and later don't support it:
https://docs.djangoproject.com/en/1.9/faq/install/#what-python-version-can-i-use-with-django

Using an `include` rather than `exclude` entry, since there will soon be
more versions of Django that don't support Python 3.3, than one that do.
