2012-04-19 12:30:44 +00:00
|
|
|
language: php
|
|
|
|
php:
|
|
|
|
- 5.3
|
|
|
|
- 5.4
|
2013-01-12 14:06:32 +00:00
|
|
|
env:
|
|
|
|
- REDIS_STANDALONE=0
|
|
|
|
- REDIS_STANDALONE=1
|
2013-01-12 11:01:13 +00:00
|
|
|
before_script:
|
2013-01-12 14:15:04 +00:00
|
|
|
- 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"
|
2013-01-12 14:16:19 +00:00
|
|
|
- sh -c "if [ $REDIS_STANDALONE -eq 0 ]; then echo \"extension=redis.so\" >> `php --ini | grep \"Loaded Configuration\" | sed -e \"s|.*:\s*||\"`; fi"
|
2013-01-12 16:02:53 +00:00
|
|
|
- composer install
|