mirror of
https://github.com/danog/amp.git
synced 2024-12-03 09:57:51 +01:00
Update travis to install ext-fiber
This commit is contained in:
parent
249aa95256
commit
6ce8cba91c
@ -8,11 +8,6 @@ addons:
|
||||
- libevent-dev
|
||||
|
||||
php:
|
||||
- 7.0
|
||||
- 7.1
|
||||
- 7.2
|
||||
- 7.3
|
||||
- 7.4
|
||||
- nightly
|
||||
|
||||
matrix:
|
||||
@ -27,6 +22,7 @@ before_install:
|
||||
- php travis/change-composer.php drop-config
|
||||
|
||||
install:
|
||||
- travis/install-fiber.sh
|
||||
- travis/install-uv.sh
|
||||
- travis/install-ev.sh
|
||||
- travis/install-event.sh
|
||||
|
10
travis/install-fiber.sh
Executable file
10
travis/install-fiber.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
git clone https://github.com/amphp/ext-fiber \
|
||||
&& pushd ext-fiber \
|
||||
&& phpize \
|
||||
&& ./configure \
|
||||
&& make -j4 \
|
||||
&& make install \
|
||||
&& popd \
|
||||
&& echo "extension=fiber.so" >> "$(php -r 'echo php_ini_loaded_file();')";
|
Loading…
Reference in New Issue
Block a user