Skip to content

Commit

Permalink
Remove usage of --ignore-platform-req=php #22
Browse files Browse the repository at this point in the history
cause dbrekelmans/bdi supports PHP 8
  • Loading branch information
robertfausk committed Dec 9, 2021
1 parent 4e7425d commit c27c0f3
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c27c0f3

Please sign in to comment.