X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=.travis.yml;h=d7460947383a0e595f472908da81ffcec78ef040;hb=5f987a64d88e0c1bb0da8bde9050e3409879cbda;hp=35649e2a76f0aa7ed93e055a5ddc32253bf9e021;hpb=2b7a7bc928fb7fc171138e248d3aa1d86d5b62f9;p=github%2Fshaarli%2FShaarli.git diff --git a/.travis.yml b/.travis.yml index 35649e2a..d7460947 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,12 @@ matrix: # jobs for each supported php version - language: php php: nightly # PHP 8.0 + install: + - composer self-update --2 + - composer update --ignore-platform-req=php + - composer remove --dev --ignore-platform-req=php phpunit/phpunit + - composer require --dev --ignore-platform-req=php phpunit/php-text-template ^2.0 + - composer require --dev --ignore-platform-req=php phpunit/phpunit ^9.0 - language: php php: 7.4 - language: php @@ -45,7 +51,6 @@ cache: install: # install/update composer and php dependencies - - if [[ $TRAVIS_PHP_VERSION == "nightly" ]]; then export TRAVIS_PHP_VERSION="8.0.0"; fi - composer config --unset platform && composer config platform.php $TRAVIS_PHP_VERSION - composer update