language: python

sudo: required

python:
    - '3.6'

install:
    - pip install -r requirements.txt
    - pip install -r tests/requirements.txt

cache: pip

script:
    - python setup.py check -m -s
    - python setup.py build_ext --inplace
    - travis_wait coverage run --source keras_retinanet -m py.test keras_retinanet tests --doctest-modules --forked --flake8

after_success:
    - coverage xml
    - coverage report
    - codecov

language: python

sudo: required

python:
    - '3.6'
    - '3.7'
    - '3.8'

install:
    - pip install -r requirements.txt
    - pip install -r tests/requirements.txt

cache: pip

script:
    - python setup.py check -m -s
    - python setup.py build_ext --inplace
    - travis_wait coverage run --source keras_retinanet -m py.test keras_retinanet tests --doctest-modules --forked --flake8

after_success:
    - coverage xml
    - coverage report
    - codecov

Add python 3.7 and 3.8 tests.
Add python 3.7 and 3.8 tests.
