language: python
sudo: false
python:
  - "3.5"
  - "3.6"
  - "nightly"
matrix:
  allow_failures:
    - python: "nightly"
  include:
    - { python: "3.7", dist: xenial, sudo: true }
install:
  - pip install flake8 nose==1.3.0 flask flask_restful flask_restplus injector flask_sqlalchemy eventlet typing mypy typed_ast
  - if [[ "${TRAVIS_PYTHON_VERSION}" != "3.5"* ]] ; then pip install black ; fi
script:
  - if [[ "${TRAVIS_PYTHON_VERSION}" != "3.5"* ]] ; then make ci ; else make test ; fi

language: python
sudo: false
python:
  - "3.5"
  - "3.6"
  - "nightly"
matrix:
  allow_failures:
    - python: "nightly"
  include:
    - { python: "3.7", dist: xenial, sudo: true }
install:
  - pip install coveralls flake8 nose==1.3.0 flask flask_restful flask_restplus injector flask_sqlalchemy eventlet typing mypy typed_ast
  - if [[ "${TRAVIS_PYTHON_VERSION}" != "3.5"* ]] ; then pip install black ; fi
script:
  - if [[ "${TRAVIS_PYTHON_VERSION}" != "3.5"* ]] ; then make ci ; else make test ; fi
after_success:
  - coveralls

Send CI test coverage data to Coveralls
Send CI test coverage data to Coveralls
