test with and without phpredis extension

This commit is contained in:
Chris Boulton 2013-01-13 01:06:32 +11:00
parent b0900d6390
commit ac28ca36d5

View File

@ -2,5 +2,9 @@ language: php
php:
- 5.3
- 5.4
env:
- REDIS_STANDALONE=0
- REDIS_STANDALONE=1
before_script:
- 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"
- composer install --dev