language: python
env:
- DJANGO=1.11.9
python:
  - "2.7"
  - "3.5"
  - "3.6"
install:
  - pip install --no-deps -r requirements.txt
  - pip install --no-deps -r requirements-test.txt
  - pip install --no-deps . Django==$DJANGO
before_script:
  - flake8 --version
  - flake8 django_graph_api
script:
  - pytest .
matrix:
  exclude:
  # Exclude running testing django 2.0 with python 2.7 because django 2.0 requires python 3.4+
  - env: DJANGO=2.0.1
    python: "2.7"

language: python
env:
- DJANGO=1.11.9
- DJANGO=2.0.1
python:
  - "2.7"
  - "3.5"
  - "3.6"
install:
  - pip install --no-deps -r requirements.txt
  - pip install --no-deps -r requirements-test.txt
  - pip install --no-deps . Django==$DJANGO
before_script:
  - flake8 --version
  - flake8 django_graph_api
script:
  - pytest .
matrix:
  exclude:
  # Exclude running testing django 2.0 with python 2.7 because django 2.0 requires python 3.4+
  - env: DJANGO=2.0.1
    python: "2.7"

Add django 2.0 tests to CI test matrix
Add django 2.0 tests to CI test matrix

This change will ensure Django 2.0 is one of the Django versions
tested via Travis CI. Django 2.0 will be tested against python 3
only
