language: python
python:
  - 3.6
  - 3.5
  - 3.4

env:
  global:
    - MPLBACKEND=agg

install:
  - make dev-install
  - pip install codecov

script:
  - make test

after_success: codecov

language: python
python:
  - 3.6
  - 3.5

# Python 3.7 currently (early 2019) needs a newer Ubuntu version than the
# default image on Travis.
matrix:
  include:
    - python: 3.7
      dist: xenial
      sudo: true

env:
  global:
    - MPLBACKEND=agg

install:
  - make dev-install
  - pip install codecov

script:
  - make test

after_success: codecov

Test on Python 3.7, drop 3.4
Test on Python 3.7, drop 3.4

Closes gh-120
