1
0
mirror of https://github.com/danog/parallel.git synced 2024-11-26 20:34:40 +01:00

Move extension installation to separate scripts

This commit is contained in:
Aaron Piotrowski 2017-05-18 17:19:50 -05:00
parent 2e9a29ae1c
commit a6894c2a1f
2 changed files with 12 additions and 9 deletions

View File

@ -13,17 +13,9 @@ matrix:
fast_finish: true
install:
- git clone https://github.com/krakjoe/pthreads.git;
pushd pthreads;
git checkout master;
phpize;
./configure;
make;
make install;
popd;
echo "extension=pthreads.so" >> "$(php -r 'echo php_ini_loaded_file();')"
- composer self-update
- composer install --no-interaction --prefer-source
- travis/install-pthreads.sh
script:
- vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml

View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
git clone https://github.com/krakjoe/pthreads;
pushd pthreads;
git checkout $(git describe --tags);
phpize;
./configure;
make;
make install;
popd;
echo "extension=pthreads.so" >> "$(php -r 'echo php_ini_loaded_file();')"