From fb90449e73d69c89565aca66c3465dda67fa6218 Mon Sep 17 00:00:00 2001 From: ruben Date: Sun, 5 Apr 2020 10:47:36 +0100 Subject: [PATCH] Debugging Travis OSX --- ci/build_unix.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ci/build_unix.sh b/ci/build_unix.sh index fdae926a..4686bd25 100644 --- a/ci/build_unix.sh +++ b/ci/build_unix.sh @@ -7,11 +7,12 @@ if [ $TRAVIS_OS_NAME == "osx" ]; then brew install $DATABASE sudo bash -c "printf \"[mysqld]\n!include $(pwd)/ci/unix-ssl.cnf\n\" >> /etc/my.cnf" sudo cat /etc/my.cnf - sudo mysql.server start + sudo mysql.server start || echo "Failed to start server!!" + cat /usr/local/var/mysql/Traviss-Mac.local.err + exit 1 if [ $DATABASE == "mariadb" ]; then sudo mysql -u root < ci/root_user_setup.sql fi - cat /usr/local/var/mysql/Traviss-Mac.local.err else sudo cp ci/unix-ssl.cnf /etc/mysql/conf.d/ssl.cnf sudo service mysql restart