Skip to content

Commit bf22bc5

Browse files
committed
fix circleCi
1 parent 01df424 commit bf22bc5

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.circleci/config.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,8 @@ jobs:
2626
- run:
2727
name: Install Redis Extension
2828
command: |
29-
sudo apt-get update
30-
sudo apt-get install -y php-dev php-pear
31-
sudo pecl install redis
32-
INI_FILE=$(php --ini | grep "Loaded Configuration" | sed -E "s|.*:\s*||")
33-
echo "extension=redis.so" | sudo tee -a $INI_FILE
34-
php -m | grep redis || (echo "Redis extension not loaded" && exit 1)
29+
yes 'no' | sudo pecl install -f redis || true
30+
sudo docker-php-ext-enable redis.so
3531
#- run:
3632
# name: Update Composer
3733
# command: sudo composer self-update

0 commit comments

Comments
 (0)