From 9e30414ec9f5be1e0ca704cf3f06246472e8854d Mon Sep 17 00:00:00 2001 From: Nick Date: Sat, 24 Oct 2020 09:54:09 +0200 Subject: [PATCH] allow php8 (#51) * allow php8 * add nightly (8rc) * adjust ci --- .travis.yml | 15 +++++++++++++++ composer.json | 4 ++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index bfd45bc..412b60a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,6 +37,12 @@ jobs: - DEPENDENCIES="stable" script: - PHP=php make coverage + - stage: coverage + php: 'nightly' + env: + - DEPENDENCIES="stable" + script: + - PHP=php make coverage - stage: integration php: '7.4' env: @@ -118,6 +124,15 @@ jobs: script: - make platform - PHP=php make phpunit-integration + - stage: integration + php: 'nightly' + env: + - DEPENDENCIES="stable" + - INTEGRATION_TEST="enabled" + - CONFLUENT_VERSION=6.0.0 + script: + - make platform + - PHP=php make phpunit-integration after_script: - make clean diff --git a/composer.json b/composer.json index 663c3be..c763edb 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ } ], "require": { - "php": "^7.3", + "php": "^7.3|^8.0", "ext-curl": "*", "ext-json": "*", "guzzlehttp/guzzle": "~6.3", @@ -20,7 +20,7 @@ "flix-tech/avro-php": "^4.1" }, "require-dev": { - "phpunit/phpunit": "^8.2.3", + "phpunit/phpunit": "^8.2.3|^9.0", "phpstan/phpstan": "^0.12", "raphhh/trex-reflection": "~1.0", "doctrine/cache": "~1.3",