dist: xenial

language: php

php:
  - 7.1
  - 7.2
  - 7.3
  - 7.4

before_script:
    - composer install

script:
    - ./vendor/bin/phpunit --coverage-clover=coverage.clover
after_script:
    - wget https://scrutinizer-ci.com/ocular.phar
    - php ocular.phar code-coverage:upload --format=php-clover coverage.clover

dist: focal

language: php

php:
  - 7.1
  - 7.2
  - 7.3
  - 7.4

before_script:
    - composer install

script:
    - ./vendor/bin/phpunit --coverage-clover=coverage.clover
after_script:
    - wget https://scrutinizer-ci.com/ocular.phar
    - php ocular.phar code-coverage:upload --format=php-clover coverage.clover

Update Travis config to use Ubuntu 20.04
Update Travis config to use Ubuntu 20.04
