language: php
sudo: required
dist: trusty
php:
    - "7.2"
    - "7.3"
    - "master"
    - "nightly"
matrix:
    fast_finish: true
    allow_failures:
        - php: "master"
        - php: "nightly"

install:
    - travis_retry composer install --no-interaction
    - wget -c -nc --retry-connrefused --tries=0 https://github.com/php-coveralls/php-coveralls/releases/download/v2.0.0/php-coveralls.phar
    - chmod +x php-coveralls.phar
    - php php-coveralls.phar --version
script:
    - ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
    - ./vendor/bin/psalm
after_success:
    - travis_retry php php-coveralls.phar -v
before_script:
    - mkdir -p build/logs
    - ls -al
cache:
    directories:
        - vendor
        - $HOME/.cache/composer

language: php
sudo: required
dist: trusty
php:
    - "7.2"
    - "7.3"
    - "7.4"
    - "master"
    - "nightly"
matrix:
    fast_finish: true
    allow_failures:
        - php: "master"
        - php: "nightly"

install:
    - travis_retry composer install --no-interaction
    - wget -c -nc --retry-connrefused --tries=0 https://github.com/php-coveralls/php-coveralls/releases/download/v2.0.0/php-coveralls.phar
    - chmod +x php-coveralls.phar
    - php php-coveralls.phar --version
script:
    - ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
    - ./vendor/bin/psalm
after_success:
    - travis_retry php php-coveralls.phar -v
before_script:
    - mkdir -p build/logs
    - ls -al
cache:
    directories:
        - vendor
        - $HOME/.cache/composer

Add PHP 7.4 to unit tests
Add PHP 7.4 to unit tests
