2
0
mirror of https://github.com/boostorg/mysql.git synced 2026-02-15 13:12:21 +00:00

Debugging Travis OSX

This commit is contained in:
ruben
2020-04-05 11:29:48 +01:00
parent 1f8b3e8f72
commit b3279d4889

View File

@@ -5,9 +5,16 @@ cp ci/*.pem /tmp # Copy SSL certs/keys to a known location
if [ $TRAVIS_OS_NAME == "osx" ]; then
brew update
brew install $DATABASE
echo "Base path to database: $(brew --prefix $DATABASE)"
find $(brew --prefix $DATABASE)
find $(brew --prefix $DATABASE) -name "*.cnf" | xargs -I {} bash -c "echo '----Printing file {}' && cat {}"
if [ $DATABASE == "mariadb" ]; then
DATABASE_PREFIX=/usr/local/Cellar/mariadb/10.4.11
else
DATABASE_PREFIX=/usr/local/Cellar/mysql/8.0.19
fi
find $DATABASE_PREFIX
find $DATABASE_PREFIX -name "*.cnf" | xargs -I {} bash -c "echo '----Printing file {}' && cat {}"
#sudo bash -c "printf \"[mysqld]\n!include $(pwd)/ci/unix-ssl.cnf\n\" >> /etc/my.cnf"
#sudo cat /etc/my.cnf