From 2b7a7bc928fb7fc171138e248d3aa1d86d5b62f9 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Tue, 29 Sep 2020 11:43:18 +0200 Subject: [PATCH] Run CI against PHP 8.0 --- .travis.yml | 3 +++ composer.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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": { -- 2.41.0