1
0
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:
Aaron Piotrowski 2020-10-03 09:58:06 -05:00
parent 249aa95256
commit 6ce8cba91c
No known key found for this signature in database
GPG Key ID: ADD1EF783EDE9EEB
2 changed files with 11 additions and 5 deletions

View File

@ -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
View 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();')";