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

Recovered other Travis CI systems

This commit is contained in:
ruben
2020-04-05 13:12:23 +01:00
parent 8a0f9728d6
commit 1debbec2bc
2 changed files with 53 additions and 5 deletions

View File

@@ -41,15 +41,67 @@ 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

@@ -5,12 +5,8 @@ cp ci/*.pem /tmp # Copy SSL certs/keys to a known location
if [ $TRAVIS_OS_NAME == "osx" ]; then
brew update
brew install $DATABASE
#sudo cp ci/unix-ssl.cnf /etc/my.cnf # In OSX, there is no default /etc/my.cnf
cp ci/unix-ssl.cnf ~/.my.cnf
mysqld --help --verbose
cp ci/unix-ssl.cnf ~/.my.cnf # This location is checked by both MySQL and MariaDB
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