mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-23 05:51:14 +01:00
Fixup
This commit is contained in:
parent
0ba0e39427
commit
dd99299c07
@ -2,18 +2,29 @@
|
||||
|
||||
set -ex
|
||||
|
||||
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
||||
php composer-setup.php
|
||||
php -r "unlink('composer-setup.php');"
|
||||
mv composer.phar /usr/local/bin/composer
|
||||
|
||||
apk add procps git unzip github-cli openssh
|
||||
|
||||
export COMPOSER_PROCESS_TIMEOUT=100000
|
||||
|
||||
php tests/jit.php
|
||||
touch /tmp/ci_status
|
||||
|
||||
composer update
|
||||
exec 4</tmp/ci_status
|
||||
flock 4
|
||||
|
||||
[ "$(cat /tmp/ci_status)" != "done" ]; then
|
||||
apk add procps git unzip github-cli openssh
|
||||
|
||||
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
||||
php composer-setup.php
|
||||
php -r "unlink('composer-setup.php');"
|
||||
mv composer.phar /usr/local/bin/composer
|
||||
|
||||
php tests/jit.php
|
||||
|
||||
composer update
|
||||
|
||||
echo done > /tmp/ci_status
|
||||
fi
|
||||
|
||||
exec 4<&-
|
||||
|
||||
if [ "$1" == "docs" ]; then
|
||||
rmdir docs
|
||||
|
Loading…
x
Reference in New Issue
Block a user