language: python
python:
  - "2.7"
  - "3.5"
  - "3.6"
env:
  - DJANGO=1.11.* DRF=3.7.*
  - DJANGO=1.11.* DRF=3.8.*
  - DJANGO=2.0.* DRF=3.7.*
  - DJANGO=2.0.* DRF=3.8.*
install:
  - pip install -q Django==$DJANGO djangorestframework==$DRF
  - pip install coveralls
  - pip install -r rest_auth/tests/requirements.pip
script:
  - coverage run --source=rest_auth setup.py test
after_success:
  - coveralls
before_script:
  - flake8 . --config=flake8
matrix:
  exclude:
    - python: "2.7"
      env: DJANGO=2.0.* DRF=3.7.*
      env: DJANGO=2.0.* DRF=3.8.*

language: python
python:
  - "2.7"
  - "3.5"
  - "3.6"
env:
  - DJANGO=1.11.* DRF=3.7.*
  - DJANGO=1.11.* DRF=3.8.*
  - DJANGO=2.0.* DRF=3.7.*
  - DJANGO=2.0.* DRF=3.8.*
install:
  - pip install -q Django==$DJANGO djangorestframework==$DRF
  - pip install coveralls
  - pip install -r rest_auth/tests/requirements.pip
script:
  - coverage run --source=rest_auth setup.py test
after_success:
  - coveralls
before_script:
  - flake8 . --config=flake8
matrix:
  exclude:
    - python: "2.7"
      env: DJANGO=2.0.* DRF=3.7.*
    - python: "2.7"
      env: DJANGO=2.0.* DRF=3.8.*

Exclude Python 2.7 for Django 2.0
Exclude Python 2.7 for Django 2.0
