From fbf9699ab41b9e2f7ac3fd0b932a5557bac4f01b Mon Sep 17 00:00:00 2001 From: Andreas Braun Date: Mon, 25 May 2020 21:47:29 +0200 Subject: [PATCH] Test against PHP 8 --- .travis.yml | 9 +++++++++ composer.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 731c55cd..52d2141e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,9 @@ script: - ./vendor/bin/phpunit jobs: + allow_failures: + - php: nightly + include: - stage: Test env: DEPENDENCIES=low @@ -38,6 +41,12 @@ jobs: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover clover.xml + - stage: Test + php: nightly + before_install: + - mv ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini{,.disabled} || echo "xdebug not available" + - composer config platform.php 7.4.99 + - stage: Code Quality env: CODING_STANDARDS install: travis_retry composer install --prefer-dist diff --git a/composer.json b/composer.json index aceeb8d4..ab51ba0f 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ {"name": "Johannes Schmitt", "email": "schmittjoh@gmail.com"} ], "require": { - "php": "^7.2" + "php": "^7.2 || ^8.0" }, "require-dev": { "doctrine/coding-standard": "^7.0",