mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-20 16:00:20 +00:00
Fixed formatting issues in Travis test script
This commit is contained in:
parent
e274f1b7f8
commit
85ff236461
@ -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
|
||||
if ls plugins/DevTools/PocketMine*.phar >/dev/null 2>&1; then
|
||||
echo Server phar created successfully.
|
||||
echo Server phar created successfully.
|
||||
else
|
||||
echo No phar created!
|
||||
exit 1
|
||||
echo No phar created!
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cp -r tests/plugins/PocketMine-TesterPlugin ./plugins
|
||||
@ -44,9 +44,9 @@ fi
|
||||
|
||||
result=$(echo "$output" | grep 'Finished' | grep -v 'PASS')
|
||||
if [ "$result" != "" ]; then
|
||||
echo "$result"
|
||||
echo Some tests did not complete successfully, changing build status to failed
|
||||
exit 1
|
||||
echo "$result"
|
||||
echo Some tests did not complete successfully, changing build status to failed
|
||||
exit 1
|
||||
else
|
||||
echo All tests passed
|
||||
echo All tests passed
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user