mirror of
https://github.com/SOCI/soci.git
synced 2026-02-15 02:38:42 -06:00
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.
11 lines
331 B
Bash
Executable File
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'@'%';";
|