Skip to content

Commit ac28ca3

Browse files
committed
test with and without phpredis extension
1 parent b0900d6 commit ac28ca3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,9 @@ language: php
22
php:
33
- 5.3
44
- 5.4
5+
env:
6+
- REDIS_STANDALONE=0
7+
- REDIS_STANDALONE=1
58
before_script:
9+
- sh -c "if [ $REDIS_STANDALONE -eq 0 ]; then pecl install redis && echo \"extension=redis.so\" >> `php --ini | grep \"Loaded Configuration\" | sed -e \"s|.*:\s*||\"`; fi"
610
- composer install --dev

0 commit comments

Comments
 (0)