Skip to content

Commit c6dcbde

Browse files
committed
Install uv extension on PHP 7
1 parent 072b557 commit c6dcbde

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ addons:
2121
apt:
2222
packages:
2323
- libevent-dev # Used by 'event' and 'libevent' PHP extensions
24+
- libuv-dev # Used by 'uv' PHP extensions
2425

2526
cache:
2627
directories:

travis-init.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,17 @@ if [[ "$TRAVIS_PHP_VERSION" != "hhvm" &&
3434
echo "extension=libev.so" >> "$(php -r 'echo php_ini_loaded_file();')"
3535
fi
3636

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+
3750
fi

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy