File tree 1 file changed +12
-18
lines changed
1 file changed +12
-18
lines changed Original file line number Diff line number Diff line change 1
1
language : php
2
- php :
3
- - 5.3
4
- - 5.4
5
- - 5.5
6
- - 5.6
7
- - 7.0
8
- - hhvm
9
-
10
2
matrix :
11
- allow_failures :
12
- - php : hhvm
13
- - php : 7.0
14
- env :
15
- - REDIS_STANDALONE=0
16
- - REDIS_STANDALONE=1
17
-
3
+ include :
4
+ - php : 5.6
5
+ env : ENABLE_REDIS_EXT=0
6
+ - php : 5.6
7
+ env : ENABLE_REDIS_EXT=1
8
+ - php : 7.0
9
+ env : ENABLE_REDIS_EXT=0
10
+ - php : 7.0
11
+ env : ENABLE_REDIS_EXT=1
12
+ - php : hhvm
13
+ env : ENABLE_REDIS_EXT=0
18
14
before_script :
19
- - 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"
20
- - sh -c "if [ $REDIS_STANDALONE -eq 0 ]; then cd phpredis-2.2.3/ && phpize && ./configure && make && make install; fi"
21
- - sh -c "if [ $REDIS_STANDALONE -eq 0 ]; then echo \"extension=redis.so\" >> `php --ini | grep \"Loaded Configuration\" | sed -e \"s|.*:\s*||\"`; fi"
15
+ - sh -c "if [ $ENABLE_REDIS_EXT -eq 1 ]; then echo \"extension=redis.so\" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi"
22
16
- composer install
You can’t perform that action at this time.
0 commit comments