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:
parent
2e9a29ae1c
commit
a6894c2a1f
10
.travis.yml
10
.travis.yml
@ -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
|
||||
|
11
travis/install-pthreads.sh
Normal file
11
travis/install-pthreads.sh
Normal 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();')"
|
Loading…
Reference in New Issue
Block a user