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"

language: python
env:
- DJANGO=1.8.18
- 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 1.8 to CI tests
Add Django 1.8 to CI tests

This commit will ensure that Django 1.8.18 is one of the Django
versions tested by the Travis CI system
