From 85ff23646139ad55789a9734f08036ba464522c6 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Thu, 7 Sep 2017 17:27:07 +0100 Subject: [PATCH] Fixed formatting issues in Travis test script --- tests/travis.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/travis.sh b/tests/travis.sh index 92469586d..2498e0c67 100755 --- a/tests/travis.sh +++ b/tests/travis.sh @@ -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