mirror of
https://github.com/danog/file.git
synced 2024-11-26 11:54:54 +01:00
Move extension installation to separate scripts
This commit is contained in:
parent
5e5c8ab85b
commit
834ccb42fe
26
.travis.yml
26
.travis.yml
@ -13,32 +13,10 @@ matrix:
|
||||
fast_finish: true
|
||||
|
||||
install:
|
||||
- git clone https://bitbucket.org/osmanov/pecl-eio;
|
||||
pushd pecl-eio;
|
||||
phpize;
|
||||
./configure;
|
||||
make;
|
||||
make install;
|
||||
popd;
|
||||
echo "extension=eio.so" >> "$(php -r 'echo php_ini_loaded_file();')";
|
||||
- git clone https://github.com/libuv/libuv;
|
||||
pushd libuv;
|
||||
git checkout $(git describe --tags);
|
||||
./autogen.sh;
|
||||
./configure --prefix=$(dirname `pwd`)/libuv-install;
|
||||
make;
|
||||
make install;
|
||||
popd;
|
||||
git clone https://github.com/bwoebi/php-uv.git;
|
||||
pushd php-uv;
|
||||
phpize;
|
||||
./configure --with-uv=$(dirname `pwd`)/libuv-install;
|
||||
make;
|
||||
make install;
|
||||
popd;
|
||||
echo "extension=uv.so" >> "$(php -r 'echo php_ini_loaded_file();')";
|
||||
- composer self-update
|
||||
- composer install
|
||||
- travis/install-eio.sh
|
||||
- travis/install-uv.sh
|
||||
|
||||
script:
|
||||
- phpdbg -qrr vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
|
||||
|
10
travis/install-eio.sh
Normal file
10
travis/install-eio.sh
Normal file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
git clone https://github.com/rosmanov/pecl-eio
|
||||
pushd pecl-eio;
|
||||
phpize;
|
||||
./configure;
|
||||
make;
|
||||
make install;
|
||||
popd;
|
||||
echo "extension=eio.so" >> "$(php -r 'echo php_ini_loaded_file();')";
|
1
travis/install-uv.sh
Symbolic link
1
travis/install-uv.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../vendor/amphp/amp/travis/install-uv.sh
|
Loading…
Reference in New Issue
Block a user