mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-06 20:07:09 +00:00
Fixed formatting issues in Travis test script
This commit is contained in:
parent
5b7565664c
commit
953c1ef4ec
@ -27,10 +27,10 @@ rm -rf ./plugins/PocketMine-DevTools
|
|||||||
|
|
||||||
echo -e "version\nmakeserver\nstop\n" | "$PHP_BINARY" src/pocketmine/PocketMine.php --no-wizard --disable-ansi --disable-readline --debug.level=2
|
echo -e "version\nmakeserver\nstop\n" | "$PHP_BINARY" src/pocketmine/PocketMine.php --no-wizard --disable-ansi --disable-readline --debug.level=2
|
||||||
if ls plugins/DevTools/PocketMine*.phar >/dev/null 2>&1; then
|
if ls plugins/DevTools/PocketMine*.phar >/dev/null 2>&1; then
|
||||||
echo Server phar created successfully.
|
echo Server phar created successfully.
|
||||||
else
|
else
|
||||||
echo No phar created!
|
echo No phar created!
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cp -r tests/plugins/PocketMine-TesterPlugin ./plugins
|
cp -r tests/plugins/PocketMine-TesterPlugin ./plugins
|
||||||
@ -44,9 +44,9 @@ fi
|
|||||||
|
|
||||||
result=$(echo "$output" | grep 'Finished' | grep -v 'PASS')
|
result=$(echo "$output" | grep 'Finished' | grep -v 'PASS')
|
||||||
if [ "$result" != "" ]; then
|
if [ "$result" != "" ]; then
|
||||||
echo "$result"
|
echo "$result"
|
||||||
echo Some tests did not complete successfully, changing build status to failed
|
echo Some tests did not complete successfully, changing build status to failed
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
echo All tests passed
|
echo All tests passed
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user