mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-22 08:15:14 +00:00
Merge pull request #306 from chrisboulton/php-versions
Remove old PHP versions from test matrix, require PHP 7 and HHVM to pass as these are now officially supported
This commit is contained in:
commit
599dc4c8be
28
.travis.yml
28
.travis.yml
@ -1,22 +1,16 @@
|
|||||||
language: php
|
language: php
|
||||||
php:
|
|
||||||
- 5.3
|
|
||||||
- 5.4
|
|
||||||
- 5.5
|
|
||||||
- 5.6
|
|
||||||
- 7.0
|
|
||||||
- hhvm
|
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
include:
|
||||||
- php: hhvm
|
- php: 5.6
|
||||||
|
env: ENABLE_REDIS_EXT=0
|
||||||
|
- php: 5.6
|
||||||
|
env: ENABLE_REDIS_EXT=1
|
||||||
- php: 7.0
|
- php: 7.0
|
||||||
env:
|
env: ENABLE_REDIS_EXT=0
|
||||||
- REDIS_STANDALONE=0
|
- php: 7.0
|
||||||
- REDIS_STANDALONE=1
|
env: ENABLE_REDIS_EXT=1
|
||||||
|
- php: hhvm
|
||||||
|
env: ENABLE_REDIS_EXT=0
|
||||||
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 [ $ENABLE_REDIS_EXT -eq 1 ]; then echo \"extension=redis.so\" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; 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 echo \"extension=redis.so\" >> `php --ini | grep \"Loaded Configuration\" | sed -e \"s|.*:\s*||\"`; fi"
|
|
||||||
- composer install
|
- composer install
|
||||||
|
Loading…
Reference in New Issue
Block a user