1
0
mirror of https://github.com/danog/process.git synced 2024-11-30 04:39:04 +01:00
process/travis/install-async.sh
Niklas Keller 8902aea332 Fix Travis
2018-07-24 20:56:50 +02:00

15 lines
332 B
Bash
Executable File

#!/usr/bin/env bash
wget https://github.com/concurrent-php/ext-async/archive/master.tar.gz -O /tmp/php-async.tar.gz -q
mkdir php-async && tar -xf /tmp/php-async.tar.gz -C php-async --strip-components=1
pushd php-async
phpize
./configure
make
make install
popd
echo "extension=async" >> "$(php -r 'echo php_ini_loaded_file();')"