From c27c0f3d38c71fb63d2ebf061f7cab122b5b0840 Mon Sep 17 00:00:00 2001 From: robertfausk Date: Thu, 9 Dec 2021 09:18:04 +0100 Subject: [PATCH] Remove usage of --ignore-platform-req=php #22 cause dbrekelmans/bdi supports PHP 8 --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index a1e1dfa..ef9f3b7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,10 +26,8 @@ before_install: - if [ "$DEPENDENCIES" = "dev" ]; then composer config minimum-stability dev; fi; install: - - if [ "${TRAVIS_PHP_VERSION:0:3}" != "8.0" ]; then composer install; fi - - if [ "${TRAVIS_PHP_VERSION:0:3}" = "8.0" ]; then composer install --ignore-platform-req=php; fi - - if [ "${TRAVIS_PHP_VERSION:0:3}" = "8.0" ]; then composer require --dev --ignore-platform-req=php dbrekelmans/bdi; fi - - if [ "${TRAVIS_PHP_VERSION:0:3}" != "7.1" ] && [ "${TRAVIS_PHP_VERSION:0:3}" != "8.0" ]; then composer require --dev dbrekelmans/bdi; fi + - composer install + - if [ "${TRAVIS_PHP_VERSION:0:3}" != "7.1" ]; then composer require --dev dbrekelmans/bdi; fi - if [ "${TRAVIS_PHP_VERSION:0:3}" != "7.1" ]; then vendor/bin/bdi detect drivers; fi - if [ "${TRAVIS_PHP_VERSION:0:3}" = "7.1" ]; then bin/updatePantherChromeDriver.sh; fi - # additionally place 'chromedriver' file also in folder 'driver' for symfony/panther >=0.9 and PHP 7.1