language: php

php:
  - '7.3'
  - '7.4'
  - '8.0'

dist: bionic

env:
  global:
    - XDEBUG_MODE=coverage

before_install: composer install

script: composer test:unit:coverage

after_success:
  - 'curl --silent https://codecov.io/bash | bash'
