language: python

python:
  - "2.7"
  - "3.6"
  - "3.8"

addons:
  apt:
    update: true
    sources:
      - llvm-toolchain-trusty-7
      - ubuntu-toolchain-r-test
    packages:
      - clang-7
      - gcc-8

install:
  - pip install coveralls
  - pip install -r requirements.txt

script:
  - coverage run --source=cantools setup.py test
  - make test-sdist
  - env PYTHONPATH=. python examples/hello_world.py
  - env PYTHONPATH=. python examples/diagnostics/did.py
  - make test-c
  - CC=gcc-8 make test-c
  - CC=clang-7 make test-c

after_success:
  coveralls

language: python

python:
  - "2.7"
  - "3.6"

addons:
  apt:
    update: true
    sources:
      - llvm-toolchain-trusty-7
      - ubuntu-toolchain-r-test
    packages:
      - clang-7
      - gcc-8

install:
  - pip install coveralls
  - pip install -r requirements.txt

script:
  - coverage run --source=cantools setup.py test
  - make test-sdist
  - env PYTHONPATH=. python examples/hello_world.py
  - env PYTHONPATH=. python examples/diagnostics/did.py
  - make test-c
  - CC=gcc-8 make test-c
  - CC=clang-7 make test-c

after_success:
  coveralls

Remove Python 3.8 on Travis as it does not work.
Remove Python 3.8 on Travis as it does not work.
