Files
soci/scripts/travis/script_valgrind.sh
Vadim Zeitlin 84fed32d0b Refactor Travis CI build scripts to reuse common options
Define SOCI_DEFAULT_CMAKE_OPTIONS once and use it in almost all builds
instead of repeating the same options many times everywhere.

For the remaining build (Valgrind) still reuse a couple of options which
it has in common with the other ones.
2020-10-10 23:36:40 +02:00

17 lines
484 B
Bash
Executable File

#!/bin/bash -e
# Builds and tests SOCI at travis-ci.org
#
# Copyright (c) 2013 Mateusz Loskot <mateusz@loskot.net>
# Copyright (c) 2015 Sergei Nikulov <sergey.nikulov@gmail.com>
#
source ${TRAVIS_BUILD_DIR}/scripts/travis/common.sh
# Note that we don't use the default options here, as we don't want to turn
# off all the backends (nor to enable ASAN which is incompatible with Valgrind).
cmake ${SOCI_COMMON_CMAKE_OPTIONS} \
-DSOCI_ODBC=OFF \
..
run_make
run_test_memcheck