Merge pull request #289 from jaschweder/patch-1

add PHP 7 and HHVM to TravisCI runtime
This commit is contained in:
Chris Boulton 2016-07-14 17:27:30 +10:00 committed by GitHub
commit a9331ecc4d

View File

@ -4,9 +4,17 @@ php:
- 5.4 - 5.4
- 5.5 - 5.5
- 5.6 - 5.6
- 7.0
- hhvm
matrix:
allow_failures:
- php: hhvm
- php: 7.0
env: 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.3.zip -O php-redis.zip && unzip php-redis.zip; fi" - 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" - sh -c "if [ $REDIS_STANDALONE -eq 0 ]; then cd phpredis-2.2.3/ && phpize && ./configure && make && make install; fi"