language: php
dist: trusty
php:
    - 5.4
    - 5.5
    - 5.6
    - 7.0
    - 7.1
    - 7.2
    - 7.3
    - hhvm
    - hhvm-nightly

matrix:
    allow_failures:
        - php: hhvm
        - php: hhvm-nightly

before_script:
    - if [[ "$TRAVIS_PHP_VERSION" == "hhvm"* ]]; then curl -sSfL -o ~/.phpenv/versions/hhvm/bin/phpunit https://phar.phpunit.de/phpunit-5.7.phar; fi
    - composer install

script: phpunit --verbose

language: php
dist: xenial
php:
    - 7.3
    - 7.4

before_script:
    - composer install

script: phpunit --verbose

Remove unsupported PHP versions from Travis matrix
Remove unsupported PHP versions from Travis matrix
