From 8a09da83c0be8b113a57e964e2496eded56b4fdd Mon Sep 17 00:00:00 2001 From: Dmitry Ivanov Date: Mon, 21 Dec 2020 19:07:06 +0200 Subject: [PATCH] Add PHP8 support --- .travis.yml | 10 ++++++++-- composer.json | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index a82d71f..1d36685 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,12 @@ php: - 7.2 - 7.3 - 7.4 + - 8.0 + +env: + global: + - COMPOSER_MEMORY_LIMIT=-1 + - XDEBUG_MODE=coverage cache: directories: @@ -13,8 +19,8 @@ services: - mysql install: - - COMPOSER_MEMORY_LIMIT=-1 travis_retry composer install --no-interaction --prefer-dist - - COMPOSER_MEMORY_LIMIT=-1 travis_retry composer require --no-interaction --prefer-dist --dev php-coveralls/php-coveralls + - travis_retry composer install --no-interaction --prefer-dist + - travis_retry composer require --no-interaction --prefer-dist --dev php-coveralls/php-coveralls script: vendor/bin/phpunit --verbose --coverage-clover build/logs/clover.xml diff --git a/composer.json b/composer.json index fe279b9..0a1507c 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ "email": "dmitry.g.ivanov@gmail.com" }], "require": { - "php": "^7.2.5", + "php": "^7.2.5|^8.0", "ext-json": "*", "illuminate/support": "^7.0", "illuminate/console": "^7.0",