File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 55 - ' 5.5'
66 - ' 5.6'
77 - ' 7.0'
8+ - ' 7.1'
89
910services :
1011 - redis-server
1112
12- before_install : echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
13+ before_install : v=$(phpenv version-name); if [ ${v:0:1} -lt 7 ]; then pecl install redis; else echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi
1314
1415install :
1516 - composer global require "fxp/composer-asset-plugin:^1.2.0"
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ It includes a `Cache` and `Session` storage handler in redis.
1818Requirements
1919------------
2020
21- - PHP >=5.4.0
21+ - PHP >= 5.4.0
2222- Redis >= 2.6.12
23- - ext-redis >=2.2.7
23+ - ext-redis >= 2.2.7
2424- Yii2 ~ 2.0.4
2525
2626Installation
Original file line number Diff line number Diff line change 1111 ],
1212 "require" : {
1313 "yiisoft/yii2" : " ~2.0.4" ,
14- "ext-redis" : " >=2.2.5 " ,
14+ "ext-redis" : " >=2.2.7 " ,
1515 "php" : " >=5.4.0"
1616 },
1717 "autoload" : {
2020 }
2121 },
2222 "require-dev" : {
23- "phpunit/phpunit" : " * " ,
23+ "phpunit/phpunit" : " <6.0 " ,
2424 "yiisoft/yii2-redis" : " ^2.0"
2525 }
2626}
You can’t perform that action at this time.
0 commit comments