From 73a7b88b21bad4f58f69ecd2558acc65b92d40bd Mon Sep 17 00:00:00 2001 From: Dmitry Ivanov Date: Mon, 21 Dec 2020 20:03:02 +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 01e10f6..b76d699 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,14 +4,20 @@ php: - 7.2 - 7.3 - 7.4 + - 8.0 + +env: + global: + - COMPOSER_MEMORY_LIMIT=-1 + - XDEBUG_MODE=coverage cache: directories: - $HOME/.composer/cache 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 a3ac245..8b26dec 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", "illuminate/support": "^7.0", "illuminate/database": "^7.0" },