Skip to content
Browse files

php-redis is not available via pecl, install using wget (not nice)

  • Loading branch information...
1 parent ac28ca3 commit ab9195cf19b1c4f5a9633589828e31231f6951f4 @chrisboulton committed Jan 13, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 .travis.yml
View
2 .travis.yml
@@ -6,5 +6,7 @@ env:
- REDIS_STANDALONE=0
- REDIS_STANDALONE=1
before_script:
+ - sh -c "if [ $REDIS_STANDALONE -eq 0 ]; then wget https://github.com/nicolasff/phpredis/archive/2.2.2.zip -O php-redis.zip && unzip php-redis.zip; fi"
+ - sh -c "if [ $REDIS_STANDALONE -eq 0 ]; then cd phpredis-2.2.2/ && phpize && ./configure && make && make install; fi"
- 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

0 comments on commit ab9195c

Please sign in to comment.
Something went wrong with that request. Please try again.