language: python
dist: xenial
python:
  - 2.7
  - 3.6
  - 3.7
  - 3.8
matrix:
  include:
    - dist: trusty
      python: 2.6
addons:
  apt:
    packages:
    - scons
cache:
  pip: true
  directories:
    - $HOME/perl5
install:
  - sudo apt-get -qq update
  - sudo apt-get install -y libtest-exception-perl libtest-output-perl libdevel-cover-perl acl cpanminus
  - pip install codecov flask pytest-cov pytest-pep8
  - sudo cpanm --quiet --notest --skip-satisfied Devel::Cover::Report::Codecov
script:
  - scons python=$(which python) test
  - py.test --cov=account/account --cov-branch --pep8 account
after_success:
  - coverage combine
  - codecov
  - cd test/frontend && cover -report codecov

language: python
dist: bionic
python:
  - 2.7
  - 3.6
  - 3.7
  - 3.8
matrix:
  include:
    - dist: trusty
      python: 2.6
addons:
  apt:
    packages:
    - scons
cache:
  pip: true
  directories:
    - $HOME/perl5
install:
  - sudo apt-get -qq update
  - sudo apt-get install -y libtest-exception-perl libtest-output-perl libdevel-cover-perl acl cpanminus
  - pip install codecov flask pytest-cov pytest-pep8
  - sudo cpanm --quiet --notest --skip-satisfied Devel::Cover::Report::Codecov
script:
  - scons python=$(which python) test
  - py.test --cov=account/account --cov-branch --pep8 account
after_success:
  - coverage combine
  - codecov
  - cd test/frontend && cover -report codecov

Update to latest Ubuntu image
Update to latest Ubuntu image
