script_valgrind.sh 387 Bytes
Newer Older
1 2 3 4 5 6
#!/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>
#
7
source ${TRAVIS_BUILD_DIR}/scripts/travis/common.sh
8 9 10 11 12 13 14 15 16 17

cmake \
    -DCMAKE_VERBOSE_MAKEFILE=ON \
    -DSOCI_TESTS=ON \
    -DSOCI_STATIC=OFF \
    -DCMAKE_BUILD_TYPE=Debug \
    ..

run_make
run_test_memcheck