add PHP 7 and HHVM to TravisCI runtime

This commit is contained in:
Jonathan André Schweder 2016-03-16 08:09:34 -03:00
parent 73b62e364a
commit 47d3c9cbb2

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"