php-resque/.travis.yml

23 lines
655 B
YAML
Raw Normal View History

language: php
php:
- 5.3
- 5.4
2014-08-28 15:56:23 +00:00
- 5.5
- 5.6
2016-03-16 11:09:34 +00:00
- 7.0
- hhvm
matrix:
allow_failures:
- php: hhvm
- php: 7.0
env:
- REDIS_STANDALONE=0
- REDIS_STANDALONE=1
2016-03-16 11:09:34 +00:00
before_script:
2013-05-12 04:55:20 +00:00
- sh -c "if [ $REDIS_STANDALONE -eq 0 ]; then wget https://github.com/nicolasff/phpredis/archive/2.2.3.zip -O php-redis.zip && unzip php-redis.zip; fi"
- sh -c "if [ $REDIS_STANDALONE -eq 0 ]; then cd phpredis-2.2.3/ && 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-05-12 04:55:20 +00:00
- composer install