File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -125,20 +125,12 @@ before_install:
125125 - if [ -n "$LUMEN_VERSION" ]; then composer remove --dev --no-update "laravel/framework"; fi
126126 - if [ -n "$LUMEN_VERSION" ]; then composer require --no-update "laravel/lumen-framework:$LUMEN_VERSION"; fi
127127 - if [ -z "$HORIZON" ]; then composer remove --dev --no-update "laravel/horizon"; fi
128+ - phpenv config-rm xdebug.ini
129+ - echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
128130
129131install : travis_retry composer install --prefer-dist --no-interaction --no-suggest
130132
131133before_script :
132- - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.0" ]]; then pecl install -f redis; fi
133- - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.1" ]]; then pecl install -f redis; fi
134- - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.2" ]]; then pecl install -f redis; fi
135- - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.3" ]]; then pecl install -f redis; fi
136- - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.4" ]]; then pecl install -f redis; fi
137- - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.0" ]]; then echo "extension=redis.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"; fi`
138- - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.1" ]]; then echo "extension=redis.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"; fi`
139- - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.2" ]]; then echo "extension=redis.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"; fi`
140- - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.3" ]]; then echo "extension=redis.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"; fi`
141- - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.4" ]]; then echo "extension=redis.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"; fi`
142134 - SUPERVISE=no travis_retry ./start-cluster.sh || { cat ./cluster/*.log; false; }
143135
144136script : vendor/bin/phpunit --exclude-group ${LUMEN_VERSION:+laravel-only},${HORIZON:-horizon}
You can’t perform that action at this time.
0 commit comments