mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-30 04:29:01 +01:00
Fix the travis matrix
This commit is contained in:
parent
87f9995f34
commit
a48b274549
@ -1,9 +1,8 @@
|
||||
language: php
|
||||
|
||||
php:
|
||||
- 5.4
|
||||
- 5.5
|
||||
- 5.6
|
||||
- 7.0
|
||||
- nightly
|
||||
|
||||
before_install:
|
||||
- chmod +x travis-install.sh
|
||||
|
@ -3,11 +3,12 @@ set -e
|
||||
set -o pipefail
|
||||
|
||||
# install 'libuv'
|
||||
git clone --recursive --branch v1.0.0 --depth 1 https://github.com/joyent/libuv.git
|
||||
pushd libuv
|
||||
./autogen.sh && ./configure && make && sudo make install
|
||||
popd
|
||||
mkdir libuv
|
||||
curl -L https://github.com/libuv/libuv/archive/v1.6.1.tar.gz | tar xzf -
|
||||
cd libuv-1.6.1 && ./autogen.sh && ./configure --prefix=$(readlink -f `pwd`/../libuv) && make && make install
|
||||
cd ..
|
||||
|
||||
#install 'php-uv'
|
||||
phpize && ./configure --with-uv --enable-httpparser && make && sudo make install
|
||||
echo "extension=uv.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
|
||||
#phpize && ./configure --with-uv=$(readlink -f `pwd`/libuv) --enable-httpparser && make && make install
|
||||
phpize && ./configure --with-uv=$(readlink -f `pwd`/libuv) && make && make install
|
||||
echo "extension = uv.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
||||
|
Loading…
Reference in New Issue
Block a user