script.sh 417 Bytes
Newer Older
1
#!/bin/bash
Mateusz Loskot's avatar
Mateusz Loskot committed
2
# Run test script actions for SOCI build at travis-ci.org
3 4
#
# Copyright (c) 2013 Mateusz Loskot <mateusz@loskot.net>
5
#
6
source ${TRAVIS_BUILD_DIR}/scripts/travis/common.sh
7

8
# prepare build directory
9
builddir="${TRAVIS_BUILD_DIR}/_build"
10 11
mkdir -p ${builddir}
cd ${builddir}
12

13
# build and run tests
14
SCRIPT=${TRAVIS_BUILD_DIR}/scripts/travis/script_${SOCI_TRAVIS_BACKEND}.sh
15 16
echo "Running ${SCRIPT}"
${SCRIPT}