mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-26 19:04:40 +01:00
Account for shared workspace
This commit is contained in:
parent
fd9dc60d24
commit
07031decd7
@ -4,13 +4,4 @@ set -ex
|
|||||||
|
|
||||||
export COMPOSER_PROCESS_TIMEOUT=100000
|
export COMPOSER_PROCESS_TIMEOUT=100000
|
||||||
|
|
||||||
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
|
composer update
|
||||||
|
@ -4,6 +4,19 @@ set -ex
|
|||||||
|
|
||||||
export COMPOSER_PROCESS_TIMEOUT=100000
|
export COMPOSER_PROCESS_TIMEOUT=100000
|
||||||
|
|
||||||
|
apk add procps git unzip github-cli openssh
|
||||||
|
|
||||||
|
cd /tmp
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
cd $OLDPWD
|
||||||
|
|
||||||
|
php tests/jit.php
|
||||||
|
|
||||||
php tests/lock_setup.php
|
php tests/lock_setup.php
|
||||||
|
|
||||||
if [ "$1" == "cs" ]; then
|
if [ "$1" == "cs" ]; then
|
||||||
@ -25,6 +38,12 @@ if [ "$1" == "cs" ]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "$1" == "psalm" ]; then
|
||||||
|
composer psalm
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
if [ "$1" == "handshake" ]; then
|
if [ "$1" == "handshake" ]; then
|
||||||
php tests/handshake.php
|
php tests/handshake.php
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user