mirror of
https://github.com/SOCI/soci.git
synced 2026-01-27 15:49:26 -06:00
While this doesn't matter for Travis CI, it makes sense to separate them for the other CI systems using more structured approach to the build steps. Add a few test_*.sh scripts for the backends that need to do something special when running the tests and just use run_test function for all the others.
14 lines
329 B
Bash
Executable File
14 lines
329 B
Bash
Executable File
#!/bin/bash -e
|
|
# Builds SOCI PostgreSQL backend in CI builds
|
|
#
|
|
# Copyright (c) 2013 Mateusz Loskot <mateusz@loskot.net>
|
|
#
|
|
source ${SOCI_SOURCE_DIR}/scripts/ci/common.sh
|
|
|
|
cmake ${SOCI_DEFAULT_CMAKE_OPTIONS} \
|
|
-DSOCI_POSTGRESQL=ON \
|
|
-DSOCI_POSTGRESQL_TEST_CONNSTR:STRING="dbname=soci_test user=postgres" \
|
|
..
|
|
|
|
run_make
|