diff --git a/.travis.yml b/.travis.yml index be030b66..c6fcf64b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,11 @@ php: - 7.2 - 7.3 +install: + - if [[ $TRAVIS_PHP_VERSION > '7.1' ]]; then wget -O ~/.phpenv/versions/$(phpenv version-name)/bin/phpunit https://phar.phpunit.de/phpunit-7.phar; fi + - if [[ $TRAVIS_PHP_VERSION > '7.1' ]]; then chmod 755 ~/.phpenv/versions/$(phpenv version-name)/bin/phpunit; fi + + before_script: - phpunit --version - composer self-update