CI: Update Ubuntu version of travis build to xenial (16.04)

This commit is contained in:
Francesco Borzì
2018-12-21 14:37:57 +01:00
committed by GitHub
parent ffa7b7a286
commit a0595b73e3
2 changed files with 7 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
sudo: required
dist: trusty # (14.04)
# xenial (16.04) is not supported yet
dist: xenial # (16.04)
# bionic (18.04) is not yet available in travis
language: cpp
compiler:
@@ -10,6 +10,9 @@ addons:
apt:
update: true
services:
- mysql
git:
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_WORLD_CONF=\"MYSQL_USER='root'; MYSQL_PASS=''; MYSQL_HOST='127.0.0.1';\"" >> conf/config.sh
# 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"
script:

View File

@@ -770,7 +770,7 @@ public:
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)
CAST_AI(npc_chicken_cluck::npc_chicken_cluckAI, creature->AI())->Reset();