1
0
mirror of https://github.com/danog/file.git synced 2024-12-02 09:17:57 +01:00
file/travis/install-pcov.sh
2020-02-21 13:06:01 -06:00

13 lines
217 B
Bash
Executable File

#!/usr/bin/env bash
set -e
curl -LS https://pecl.php.net/get/pcov | tar -xz
pushd pcov-*
phpize
./configure --enable-pcov
make
make install
popd
echo "extension=pcov.so" >> "$(php -r 'echo php_ini_loaded_file();')"