From ac28ca36d5e1e83361383aee215b912cbd0e3d33 Mon Sep 17 00:00:00 2001 From: Chris Boulton Date: Sun, 13 Jan 2013 01:06:32 +1100 Subject: [PATCH] test with and without phpredis extension --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index b1b8e8c..c78e442 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 \ No newline at end of file