Shell-based CI with lint scans

This commit is contained in:
Dylan K. Taylor
2016-10-17 10:12:19 +01:00
parent 8f3b95164a
commit 707847b46e
3 changed files with 17 additions and 1 deletions

8
tests/run.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
echo -e "version\nmakeserver\nstop\n" | php src/pocketmine/PocketMine.php --no-wizard --disable-ansi
if ls plugins/DevTools/PocketMine*.phar >/dev/null 2>&1; then
echo Server phar created successfully.
else
echo No phar created!
exit 1
fi