mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-25 01:35:14 +00:00
php-redis is not available via pecl, install using wget (not nice)
This commit is contained in:
parent
ac28ca36d5
commit
ab9195cf19
@ -6,5 +6,7 @@ env:
|
|||||||
- REDIS_STANDALONE=0
|
- REDIS_STANDALONE=0
|
||||||
- REDIS_STANDALONE=1
|
- REDIS_STANDALONE=1
|
||||||
before_script:
|
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"
|
- 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
|
- composer install --dev
|
Loading…
Reference in New Issue
Block a user