Fixed formatting issues in Travis test script

This commit is contained in:
Dylan K. Taylor 2017-09-07 17:27:07 +01:00
parent e274f1b7f8
commit 85ff236461

View File

@ -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