language: python
sudo: false
python:
 - "2.7"
 - "3.4"
 - "3.5"
 - "nightly"
env:
  matrix:
   - DJANGO="Django>=1.8,<1.9"
   - DJANGO="Django>=1.9,<1.10"
   - DJANGO="Django>=1.10,<1.11"
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,<1.9"
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,<1.9"
   - DJANGO="Django>=1.9,<1.10"
   - DJANGO="Django>=1.10,<1.11"
   - DJANGO="https://github.com/django/django/archive/master.tar.gz"
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:
  fast_finish: true
  include:
    - python: "3.3"
      env: DJANGO="Django>=1.8,<1.9"
  allow_failures:
    - env: DJANGO="https://github.com/django/django/archive/master.tar.gz"
after_success:
  - coverage report
  - pip install --quiet python-coveralls
  - coveralls

Test with Django master (but allow failures)
Travis: Test with Django master (but allow failures)

So we have visibility into any future breakage, but failures won't
cause the overall Travis run to be marked as failing.
