feat(CI): Travis check modules (#1663)

This commit is contained in:
Stoabrogga
2019-04-06 23:13:30 +02:00
committed by GitHub
parent 9e3966617f
commit 2014610723
6 changed files with 27 additions and 4 deletions
+6
View File
@@ -6,4 +6,10 @@ if [ "$TRAVIS_BUILD_ID" = "1" ]
then
echo "import DB"
bash ./acore.sh "db-assembler" "import-all"
if [ -s modules/mod-premium/sql/example_item_9017.sql ]
then
# if the premium module is available insert the example item or else the worldserver dry run will fail
mysql -u root world_$DB_RND_NAME <modules/mod-premium/sql/example_item_9017.sql
fi
fi