Skip to content

Commit 68f6fc0

Browse files
committed
Enable pre-installed redis extension on travis
1 parent 46c851d commit 68f6fc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ matrix:
3333
before_script:
3434
- git clone -b master https://github.com/FriendsOfCake/travis.git --depth 1 ../travis
3535
- ../travis/before_script.sh
36-
- pwd && ls
37-
- wget https://github.com/nicolasff/phpredis/archive/2.2.5.zip -O php-redis.zip && unzip php-redis.zip && cd phpredis-2.2.5/ && phpize && ./configure && make && make install && echo \"extension=redis.so\" >> `php --ini | grep \"Loaded Configuration\" | sed -e \"s|.*:\s*||\"`
36+
- echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
37+
- phpenv rehash
3838

3939
script:
4040
- ../travis/script.sh

0 commit comments

Comments
 (0)