sudo: false
language: python
python:
  - 2.7
  - 3.7
services:
  - redis
env:
  - FLASK=1.0.2
  - FLASK=0.10.1
  - FLASK=0.9
  - FLASK=0.8.1
install:
  - pip install -q Flask==$FLASK
  - pip install -q -r dev_requirements.txt
  - pip install -q -e .
script:
  - python setup.py test

sudo: required
language: python
dist: xenial
python:
  - 2.7
  - 3.7
services:
  - redis
env:
  - FLASK=1.0.2
  - FLASK=0.10.1
  - FLASK=0.9
  - FLASK=0.8.1
install:
  - pip install -q Flask==$FLASK
  - pip install -q -r dev_requirements.txt
  - pip install -q -e .
script:
  - python setup.py test

Fix Python 3.7 in Travis
Fix Python 3.7 in Travis

https://github.com/travis-ci/travis-ci/issues/9069#issuecomment-425720905
