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 12:55:27 +01:00
parent b18cbd2aa6
commit 669a2f8fc5
2 changed files with 3 additions and 53 deletions

View File

@@ -41,67 +41,15 @@ language: cpp
matrix:
include:
- name: linux_gcc_x64_debug_mysql
<<: *__linux_mysql_defaults
compiler: gcc
env:
- CMAKE_BUILD_TYPE=Debug
- name: linux_gcc_x64_release_mysql
<<: *__linux_mysql_defaults
compiler: gcc
env:
- CMAKE_BUILD_TYPE=Release
- name: linux_clang_x64_debug_mysql
<<: *__linux_mysql_defaults
compiler: clang
env:
- CMAKE_BUILD_TYPE=Debug
- name: linux_clang_x64_release_mysql
<<: *__linux_mysql_defaults
compiler: clang
env:
- CMAKE_BUILD_TYPE=Release
- name: linux_gcc_x64_debug_mariadb
<<: *__linux_mariadb_defaults
compiler: gcc
env:
- CMAKE_BUILD_TYPE=Debug
- name: linux_gcc_x64_release_mariadb
<<: *__linux_mariadb_defaults
compiler: gcc
env:
- CMAKE_BUILD_TYPE=Release
- name: linux_clang_x64_debug_mariadb
<<: *__linux_mariadb_defaults
compiler: clang
env:
- CMAKE_BUILD_TYPE=Debug
- name: linux_clang_x64_release_mariadb
<<: *__linux_mariadb_defaults
compiler: clang
env:
- CMAKE_BUILD_TYPE=Release
- name: osx_clang_x64_debug_mysql
<<: *__osx_defaults
env:
- *__osx_cmake_options
- CMAKE_BUILD_TYPE=Debug
- DATABASE=mysql
- name: osx_clang_x64_release_mysql
<<: *__osx_defaults
env:
- *__osx_cmake_options
- CMAKE_BUILD_TYPE=Release
- DATABASE=mysql
- name: osx_clang_x64_debug_mariadb
<<: *__osx_defaults
env:
- *__osx_cmake_options
- CMAKE_BUILD_TYPE=Debug
- DATABASE=mariadb
- name: osx_clang_x64_release_mariadb
<<: *__osx_defaults
env:
- *__osx_cmake_options
- CMAKE_BUILD_TYPE=Release
- DATABASE=mariadb

View File

@@ -3,10 +3,12 @@
cp ci/*.pem /tmp # Copy SSL certs/keys to a known location
if [ $TRAVIS_OS_NAME == "osx" ]; then
sudo cp ci/unix-ssl.cnf /etc/my.cnf # In OSX, there is no default /etc/my.cnf
brew update
brew install $DATABASE
sudo cp ci/unix-ssl.cnf /etc/my.cnf # In OSX, there is no default /etc/my.cnf
mysql.server start # Note that running this with sudo fails
cat /tmp/mysql-log.txt || echo "Could not open this log"
cat /usr/local/var/mysql/Traviss-Mac.local.err || echo "Could not open this log"
if [ $DATABASE == "mariadb" ]; then
sudo mysql -u root < ci/root_user_setup.sql
fi