language: php

matrix:
  fast_finish: true
  include:
    - php: 7.3
    - php: 7.4
    - php: 8.0

sudo: false

before_install:
  - travis_retry composer self-update

install:
  - travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest

script: vendor/bin/phpunit --coverage-text

after_success:
  - bash <(curl -s https://codecov.io/bash)
