From 9a3b23278ad4dfc238542e142fe6748b46dd041b Mon Sep 17 00:00:00 2001 From: Yozhef Date: Wed, 12 May 2021 11:08:29 +0300 Subject: [PATCH 1/2] Update Travis config The problem when the project uses symfony/framework-bundle. composer require --ignore-platform-reqs install psr/cache 2.0, his support only PHP 8, but in Travis use PHP 7.4. 1) Remove --ignore-platform-reqs or 2) Use in build PHP 8.0 PHP 8.9 now many libraries does not use this version, because I think good idea remove --ignore-platform-reqs --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 76b43896..094f1443 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,7 +32,7 @@ install: before_script: - | install_package() { - composer require --ignore-platform-reqs $@; + composer require $@; EXIT_CODE=$?; MESSAGE=""; From 2cd5a8764f6dc28d1158cb5f29f9ed944d453143 Mon Sep 17 00:00:00 2001 From: Yozhef Date: Thu, 13 May 2021 13:13:41 +0300 Subject: [PATCH 2/2] Update .travis.yml --- .travis.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 094f1443..4392f51f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,15 +8,10 @@ cache: matrix: fast_finish: true include: - - php: 7.4 - env: SKELETON_VERSION="^3.4" - - php: 7.4 + - php: 8.0 env: SKELETON_VERSION="^4.4" - - php: 7.4 + - php: 8.0 env: SKELETON_VERSION="^5.0" - allow_failures: - - php: 7.4 - env: SKELETON_VERSION="^3.4" before_install: - phpenv config-rm xdebug.ini || true @@ -32,7 +27,7 @@ install: before_script: - | install_package() { - composer require $@; + composer require --ignore-platform-reqs $@; EXIT_CODE=$?; MESSAGE="";