mirror of
https://github.com/SOCI/soci.git
synced 2026-05-01 16:49:27 -05:00
bce5f9febb
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.
16 lines
321 B
Bash
Executable File
16 lines
321 B
Bash
Executable File
#!/bin/bash
|
|
# Build SOCI in CI builds
|
|
#
|
|
# Copyright (c) 2013 Mateusz Loskot <mateusz@loskot.net>
|
|
#
|
|
source ${SOCI_SOURCE_DIR}/scripts/ci/common.sh
|
|
|
|
# prepare build directory
|
|
mkdir -p ${builddir}
|
|
cd ${builddir}
|
|
|
|
# do build
|
|
SCRIPT=${SOCI_SOURCE_DIR}/scripts/ci/build_${SOCI_CI_BACKEND}.sh
|
|
echo "Running ${SCRIPT}"
|
|
${SCRIPT}
|