Show debug messages in Travis test

This commit is contained in:
SOFe 2016-12-19 02:55:23 +08:00
parent bb7263beac
commit 1ec83420c8
No known key found for this signature in database
GPG Key ID: A0379676C4D9D5D9

View File

@ -1,8 +1,8 @@
#!/bin/bash
echo -e "version\nmakeserver\nstop\n" | php src/pocketmine/PocketMine.php --no-wizard --disable-ansi --disable-readline
echo -e "version\nmakeserver\nstop\n" | php 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.
else
echo No phar created!
exit 1
fi
fi