language: python
python:
  - "2.7"
  - "3.4"
  - "3.7-dev"
  - "pypy3.5"
install:
  - pip install -e .
  - pip install --upgrade pytest pytest-cov codacy-coverage
script: py.test -v --color=yes --cov-report xml --cov=canopen test/
after_script: python-codacy-coverage

dist: xenial
language: python
python:
  - "2.7"
  - "3.4"
  - "3.7"
  - "3.8-dev"
  - "pypy3.5"
install:
  - pip install -e .
  - pip install --upgrade pytest pytest-cov codacy-coverage
script: py.test -v --color=yes --cov-report xml --cov=canopen test/
after_script: python-codacy-coverage

Make Travis test on Python 3.7 and 3.8.
Make Travis test on Python 3.7 and 3.8.
