File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -129,8 +129,16 @@ before_install:
129129install : travis_retry composer install --prefer-dist --no-interaction --no-suggest
130130
131131before_script :
132- - pecl install redis
133- - echo "extension=redis.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
132+ - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.0" ]]; then printf "yes\n" | pecl install redis; fi
133+ - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.1" ]]; then printf "yes\n" | pecl install redis; fi
134+ - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.2" ]]; then printf "yes\n" | pecl install redis; fi
135+ - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.3" ]]; then printf "yes\n" | pecl install redis; fi
136+ - if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.4" ]]; then printf "yes\n" | pecl install 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`
134142 - SUPERVISE=no travis_retry ./start-cluster.sh || { cat ./cluster/*.log; false; }
135143
136144script : vendor/bin/phpunit --exclude-group ${LUMEN_VERSION:+laravel-only},${HORIZON:-horizon}
You can’t perform that action at this time.
0 commit comments