language: php
sudo: false

matrix:
  fast_finish: true
  include:
    - php: "7.1"
    - php: "7.2"
    - php: "7.3"
    - php: "7.4"
    - php: "8.0"
    - php: "nightly"
  allow_failures:
    - php: "nightly"
    - php: "7.4"
    - php: "8.0"

install:
    - composer self-update
    - composer update

script:
    - vendor/bin/phpunit
    - vendor/bin/psalm
