This repository was archived by the owner on Aug 15, 2018. It is now read-only.
File tree 3 files changed +6
-5
lines changed
3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 5
5
- ' 5.5'
6
6
- ' 5.6'
7
7
- ' 7.0'
8
+ - ' 7.1'
8
9
9
10
services :
10
11
- redis-server
11
12
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
13
14
14
15
install :
15
16
- 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.
18
18
Requirements
19
19
------------
20
20
21
- - PHP >=5.4.0
21
+ - PHP >= 5.4.0
22
22
- Redis >= 2.6.12
23
- - ext-redis >=2.2.7
23
+ - ext-redis >= 2.2.7
24
24
- Yii2 ~ 2.0.4
25
25
26
26
Installation
Original file line number Diff line number Diff line change 11
11
],
12
12
"require" : {
13
13
"yiisoft/yii2" : " ~2.0.4" ,
14
- "ext-redis" : " >=2.2.5 " ,
14
+ "ext-redis" : " >=2.2.7 " ,
15
15
"php" : " >=5.4.0"
16
16
},
17
17
"autoload" : {
20
20
}
21
21
},
22
22
"require-dev" : {
23
- "phpunit/phpunit" : " * " ,
23
+ "phpunit/phpunit" : " <6.0 " ,
24
24
"yiisoft/yii2-redis" : " ^2.0"
25
25
}
26
26
}
You can’t perform that action at this time.
0 commit comments