don't test against php 5.3, 5.4, 5.5. don't allow failures on php7 and hhvm

This commit is contained in:
Chris Boulton 2016-10-14 15:26:02 -07:00
parent ee9f133bf9
commit 2e24b5308f

View File

@ -1,20 +1,11 @@
language: php language: php
php: php:
- 5.3
- 5.4
- 5.5
- 5.6 - 5.6
- 7.0 - 7.0
- hhvm - 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"