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
+6 -2
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: