language: python
python:
  - 3.6
  - 3.5
  - 2.7
script: make test
notifications:
  email: false
env:
  global:
    - DATABASE_URL='postgres://postgres@localhost/incuna_auth'
  matrix:
    - DJANGO='django>=1.10,<1.11'
    - DJANGO='django>=1.11,<2.0'
    - DJANGO='django>=2.0,<2.1'
    - DJANGO='django>=2.1,<2.2'
matrix:
  exclude:
    - env: DJANGO='django>=2.0,<2.1'
      python: 2.7
    - env: DJANGO='django>=2.1,<2.2'
      python: 2.7
services:
  - postgresql
addons:
  postgresql: "9.4"
before_script:
  - psql -c 'CREATE DATABASE incuna_auth' -U postgres;
install:
  - pip install $DJANGO
  - pip install -r requirements.txt

language: python
python:
  - 3.6
  - 3.5
  - 2.7
script: make test
notifications:
  email: false
env:
  global:
    - DATABASE_URL='postgres://postgres@localhost/incuna_auth'
  matrix:
    - DJANGO='django>=1.11,<2.0'
    - DJANGO='django>=2.0,<2.1'
    - DJANGO='django>=2.1,<2.2'
matrix:
  exclude:
    - env: DJANGO='django>=2.0,<2.1'
      python: 2.7
    - env: DJANGO='django>=2.1,<2.2'
      python: 2.7
services:
  - postgresql
addons:
  postgresql: "9.4"
before_script:
  - psql -c 'CREATE DATABASE incuna_auth' -U postgres;
install:
  - pip install $DJANGO
  - pip install -r requirements.txt

Drop support for Django < 1.11
Drop support for Django < 1.11
