File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ addons:
21
21
apt :
22
22
packages :
23
23
- libevent-dev # Used by 'event' and 'libevent' PHP extensions
24
+ - libuv-dev # Used by 'uv' PHP extensions
24
25
25
26
cache :
26
27
directories :
Original file line number Diff line number Diff line change @@ -34,4 +34,17 @@ if [[ "$TRAVIS_PHP_VERSION" != "hhvm" &&
34
34
echo " extension=libev.so" >> " $( php -r ' echo php_ini_loaded_file();' ) "
35
35
fi
36
36
37
+ # install 'libev' PHP extension (does not support php 7)
38
+ if [[ " $TRAVIS_PHP_VERSION " = " 7.0" ||
39
+ " $TRAVIS_PHP_VERSION " = " 7.1" ]]; then
40
+ git clone --recursive https://github.com/bwoebi/php-uv
41
+ pushd php-uv
42
+ phpize
43
+ ./configure
44
+ make
45
+ make install
46
+ popd
47
+ echo " extension=uv.so" >> " $( php -r ' echo php_ini_loaded_file();' ) "
48
+ fi
49
+
37
50
fi
You can’t perform that action at this time.
0 commit comments