From d312f94b44580a14dfb9a4fc68273c5ce1c53f0a Mon Sep 17 00:00:00 2001 From: Mark Story Date: Tue, 24 Nov 2020 10:49:44 -0500 Subject: [PATCH] Add PHP8 to CI builds Trying to get PHP8 compatibility started. --- .travis.yml | 4 ++++ composer.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7c3c68762..77db0059b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -51,6 +51,10 @@ matrix: sudo: required services: docker env: SYMFONY_VERSION=4.3.* RDKAFKA_TESTS=true PREPARE_CONTAINER=true + - php: 8.0 + sudo: required + services: docker + env: SYMFONY_VERSION=5.0.* FUNCTIONAL_TESTS=true PREPARE_CONTAINER=true allow_failures: - env: SYMFONY_VERSION=4.3.* RDKAFKA_TESTS=true PREPARE_CONTAINER=true diff --git a/composer.json b/composer.json index 21cf655c1..cc51cbb5c 100644 --- a/composer.json +++ b/composer.json @@ -41,7 +41,7 @@ "datadog/php-datadogstatsd": "^1.3" }, "require-dev": { - "phpunit/phpunit": "^7.5", + "phpunit/phpunit": "^7.5|^8.5|^9.3", "phpstan/phpstan": "^0.12", "queue-interop/queue-spec": "^0.6", "symfony/browser-kit": "^3.4|^4",