language: python
sudo: false
cache: pip
python:
  - "3.4"
  - "3.5"
env:
  # - REQ='Django>=1.10,<1.11'
  - REQ='Django>=1.11,<2.0'
matrix:
install:
  - pip install $REQ django-versatileimagefield flake8
  - python setup.py install
# command to run tests, e.g. python setup.py test
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'
matrix:
install:
  - pip install -U pip wheel
  - pip install $REQ django-versatileimagefield flake8
  - python setup.py install
# command to run tests, e.g. python setup.py test
script: "cd tests && ./manage.py test testapp && cd .. && flake8 ."

Update pip and wheel first
Update pip and wheel first
