language: php

dist: bionic

notifications:
  email: false

php:
  - "7.3"
  - "7.4"
  - "8.0"

matrix:
  fast_finish: true

cache:
  directories:
    - $HOME/.composer/cache/files

install:
  - travis_retry composer install --prefer-dist --no-interaction

script:
  - php vendor/bin/phpcs
