language: python

python:
 - 2.7
 - 3.4
 - 3.5
 - 3.6

env:
 - DJANGO=1.8
 - DJANGO=1.10
 - DJANGO=1.11
 - DJANGO=master

matrix:
  exclude:
    - python: 2.7
      env: DJANGO=master
    - python: 3.6
      env: DJANGO=1.8
    - python: 3.6
      env: DJANGO=1.10
  include:
    - python: 3.5
      env: TOXENV=flake8
  allow_failures:
    - env: DJANGO=master

install: pip install tox-travis coveralls
script: tox
after_success: coveralls

language: python

python:
 - 2.7
 - 3.4
 - 3.5

env:
 - DJANGO=1.8
 - DJANGO=1.10
 - DJANGO=1.11

matrix:
  include:
    - python: 3.5
      env: TOXENV=flake8
    - python: 3.5
      env: DJANGO=master
    - python: 3.6
      env: DJANGO=master
  allow_failures:
    - env: DJANGO=master

install: pip install tox-travis coveralls
script: tox
after_success: coveralls

Test matrix shouldn’t include Python < 3.5 for dj-master
Test matrix shouldn’t include Python < 3.5 for dj-master
