From d21e5181753b8ab8a5ac7501e67add5d8628d865 Mon Sep 17 00:00:00 2001 From: Alexey Kopytko Date: Thu, 12 Nov 2020 10:14:08 +0900 Subject: [PATCH 1/2] Build on PHP 8 on Travis CI --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 11b3716..67ff569 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,12 @@ language: php -sudo: false - git: depth: 1 cache: directories: - $HOME/.composer/cache + - $HOME/.cache/composer matrix: include: @@ -16,13 +15,15 @@ matrix: env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable' - php: 7.3 - php: 7.4 + - php: 8.0snapshot + env: COMPOSER_FLAGS='--ignore-platform-req=php' - php: nightly + env: COMPOSER_FLAGS='--ignore-platform-req=php' fast_finish: true before_script: - if [[ $TRAVIS_PHP_VERSION = '7.2' ]]; then PHPUNIT_FLAGS="--coverage-clover clover"; else PHPUNIT_FLAGS=""; fi - if [[ $TRAVIS_PHP_VERSION != '7.2' ]]; then phpenv config-rm xdebug.ini; fi - - composer self-update - composer update $COMPOSER_FLAGS script: From ca69ace14be6f93b60ceec2f19ed2c8e2eb040a5 Mon Sep 17 00:00:00 2001 From: Alexey Kopytko Date: Thu, 12 Nov 2020 10:25:47 +0900 Subject: [PATCH 2/2] Fix indentation --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 67ff569..513288f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,9 +4,9 @@ git: depth: 1 cache: - directories: - - $HOME/.composer/cache - - $HOME/.cache/composer + directories: + - $HOME/.composer/cache + - $HOME/.cache/composer matrix: include: