language: python
sudo: false
cache: pip
python:
- "3.4"
- "3.5"
env:
# - REQ="Django>=1.10,<1.11"
- REQ="Django>=1.11,<2.0"
- REQ="https://github.com/django/django/archive/master.zip#egg=Django"
matrix:
  allow_failures:
    - env: REQ="https://github.com/django/django/archive/master.zip#egg=Django"
install:
  - pip install -U pip wheel
  - pip install $REQ django-versatileimagefield flake8
  - python setup.py install
script: "cd tests && ./manage.py test testapp && cd .. && flake8 ."

language: python
sudo: false
cache: pip
python:
- "3.4"
- "3.5"
env:
# - REQ="Django>=1.10,<1.11"
- REQ="Django>=1.11,<2.0"
- REQ="Django>=2.0,<2.1"
- REQ="https://github.com/django/django/archive/master.zip#egg=Django"
matrix:
  allow_failures:
    - env: REQ="https://github.com/django/django/archive/master.zip#egg=Django"
  exclude:
    - python: "3.4"
      env: REQ="https://github.com/django/django/archive/master.zip#egg=Django"
install:
  - pip install -U pip wheel
  - pip install $REQ django-versatileimagefield flake8
  - python setup.py install
script: "cd tests && ./manage.py test testapp && cd .. && flake8 ."

Add Django 2.0 to test matrix
Add Django 2.0 to test matrix
