Files
soci/scripts/travis/before_script_mysql.sh
Mateusz Łoskot 3256637bd8 Switch Travis CI to Ubuntu Trusty (#575)
Use CMake installed from Trusty packages.
Corrext Firebird post-installation steps to set password correctly.
Grant MySQL privileges to travis user explicitly (see travis-ci/travis-ci#8331).

Allow valgrind job to fail:
- ODBC backend tests are failing with valgrind.
- Turns out on Trusty, ODBC is enabled by default because all client libraries are available.
2019-09-21 23:10:50 +02:00

11 lines
331 B
Bash
Executable File

#!/bin/bash -e
# Sets up environment for SOCI backend MySQL at travis-ci.org
#
# Mateusz Loskot <mateusz@loskot.net>, http://github.com/SOCI
#
source ${TRAVIS_BUILD_DIR}/scripts/travis/common.sh
mysql --version
mysql -u root -e "CREATE DATABASE soci_test;"
mysql -u root -e "GRANT ALL PRIVILEGES ON soci_test.* TO 'travis'@'%';";