diff --git a/.travis.yml b/.travis.yml index f9b098ca6..8dd50f9c6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -60,6 +60,7 @@ matrix: - mysql2gem.example.com - rvm: 2.4 env: DB=mysql57 + dist: xenial addons: hosts: - mysql2gem.example.com diff --git a/.travis_setup_centos.sh b/.travis_setup_centos.sh index 631fbb9ec..78a9954c9 100644 --- a/.travis_setup_centos.sh +++ b/.travis_setup_centos.sh @@ -4,6 +4,11 @@ set -eux MYSQL_TEST_LOG="$(pwd)/mysql.log" +# mysql_install_db uses wrong path for resolveip +# https://jira.mariadb.org/browse/MDEV-18563 +# https://travis-ci.org/brianmario/mysql2/jobs/615263124#L2840 +ln -s "$(command -v resolveip)" /usr/libexec/resolveip + mysql_install_db \ --log-error="${MYSQL_TEST_LOG}" /usr/libexec/mysqld \