From: ArthurHoaro Date: Tue, 29 Sep 2020 09:43:18 +0000 (+0200) Subject: Run CI against PHP 8.0 X-Git-Tag: v0.12.0-beta-2~7^2~6 X-Git-Url: https://git.immae.eu/?p=github%2Fshaarli%2FShaarli.git;a=commitdiff_plain;h=2b7a7bc928fb7fc171138e248d3aa1d86d5b62f9 Run CI against PHP 8.0 --- diff --git a/.travis.yml b/.travis.yml index af04a022..35649e2a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,8 @@ dist: bionic matrix: include: # jobs for each supported php version + - language: php + php: nightly # PHP 8.0 - language: php php: 7.4 - language: php @@ -43,6 +45,7 @@ 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 diff --git a/composer.json b/composer.json index de7b1732..35043fd2 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ "require-dev": { "roave/security-advisories": "dev-master", "phpunit/phpcov": "*", - "phpunit/phpunit": "^7.5 || ^8.0", + "phpunit/phpunit": "^7.5 || ^8.0 || ^9.0", "squizlabs/php_codesniffer": "3.*" }, "suggest": {