Debug build
This commit is contained in:
parent
950a0e205d
commit
b269a1f691
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash -e
|
#!/bin/bash -ex
|
||||||
|
|
||||||
# Configure
|
# Configure
|
||||||
PHP_MAJOR_VERSION=$(php -r 'echo PHP_MAJOR_VERSION;')
|
PHP_MAJOR_VERSION=$(php -r 'echo PHP_MAJOR_VERSION;')
|
||||||
@ -89,10 +89,6 @@ for f in $(find phar5 -type f -name '*.php'); do php -l $f;done
|
|||||||
|
|
||||||
branch="-$TRAVIS_BRANCH"
|
branch="-$TRAVIS_BRANCH"
|
||||||
cd $madelinePath
|
cd $madelinePath
|
||||||
php tools/makephar.php $HOME/phar5 "madeline$php$branch.phar" $TRAVIS_COMMIT
|
|
||||||
|
|
||||||
curl -s https://api.telegram.org/bot$BOT_TOKEN/sendDocument -F chat_id=101374607 -F document="@$TRAVIS_PHAR"
|
|
||||||
|
|
||||||
|
|
||||||
export TRAVIS_PHAR="madeline$php$branch.phar"
|
export TRAVIS_PHAR="madeline$php$branch.phar"
|
||||||
export TEST_SECRET_CHAT=test
|
export TEST_SECRET_CHAT=test
|
||||||
@ -100,6 +96,11 @@ export TEST_USERNAME=danogentili
|
|||||||
export TEST_DESTINATION_GROUPS='["@danogentili"]'
|
export TEST_DESTINATION_GROUPS='["@danogentili"]'
|
||||||
export MTPROTO_SETTINGS='{"logger":{"logger_level":5}}'
|
export MTPROTO_SETTINGS='{"logger":{"logger_level":5}}'
|
||||||
|
|
||||||
|
php tools/makephar.php $HOME/phar5 "$TRAVIS_PHAR" $TRAVIS_COMMIT
|
||||||
|
|
||||||
|
curl -s https://api.telegram.org/bot$BOT_TOKEN/sendDocument -F chat_id=101374607 -F document="@$TRAVIS_PHAR"
|
||||||
|
|
||||||
|
|
||||||
tests/testing.php <<EOF
|
tests/testing.php <<EOF
|
||||||
m
|
m
|
||||||
$API_ID
|
$API_ID
|
||||||
|
Loading…
Reference in New Issue
Block a user