CI: Update Ubuntu version of travis build to xenial (16.04)
This commit is contained in:
+6
-2
@@ -1,6 +1,6 @@
|
|||||||
sudo: required
|
sudo: required
|
||||||
dist: trusty # (14.04)
|
dist: xenial # (16.04)
|
||||||
# xenial (16.04) is not supported yet
|
# bionic (18.04) is not yet available in travis
|
||||||
|
|
||||||
language: cpp
|
language: cpp
|
||||||
compiler:
|
compiler:
|
||||||
@@ -10,6 +10,9 @@ addons:
|
|||||||
apt:
|
apt:
|
||||||
update: true
|
update: true
|
||||||
|
|
||||||
|
services:
|
||||||
|
- mysql
|
||||||
|
|
||||||
git:
|
git:
|
||||||
depth: 1
|
depth: 1
|
||||||
|
|
||||||
@@ -33,6 +36,7 @@ install:
|
|||||||
- echo "DB_AUTH_CONF=\"MYSQL_USER='root'; MYSQL_PASS=''; MYSQL_HOST='127.0.0.1';\"" >> conf/config.sh
|
- echo "DB_AUTH_CONF=\"MYSQL_USER='root'; MYSQL_PASS=''; MYSQL_HOST='127.0.0.1';\"" >> conf/config.sh
|
||||||
- echo "DB_WORLD_CONF=\"MYSQL_USER='root'; MYSQL_PASS=''; MYSQL_HOST='127.0.0.1';\"" >> conf/config.sh
|
- echo "DB_WORLD_CONF=\"MYSQL_USER='root'; MYSQL_PASS=''; MYSQL_HOST='127.0.0.1';\"" >> conf/config.sh
|
||||||
# create and import mysql
|
# create and import mysql
|
||||||
|
- mysql -e "SET GLOBAL sql_mode = '';" # this is necessary because of mysql 5.7
|
||||||
- bash ./acore.sh "db-assembler" "import-all"
|
- bash ./acore.sh "db-assembler" "import-all"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
|||||||
@@ -770,7 +770,7 @@ public:
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool OnQuestComplete(Player* /*player*/, Creature* creature, Quest const* quest)
|
bool OnQuestComplete(Player* /*player*/, Creature* creature, Quest const* quest) override
|
||||||
{
|
{
|
||||||
if (quest->GetQuestId() == QUEST_CLUCK)
|
if (quest->GetQuestId() == QUEST_CLUCK)
|
||||||
CAST_AI(npc_chicken_cluck::npc_chicken_cluckAI, creature->AI())->Reset();
|
CAST_AI(npc_chicken_cluck::npc_chicken_cluckAI, creature->AI())->Reset();
|
||||||
|
|||||||
Reference in New Issue
Block a user