mirror of
https://github.com/SOCI/soci.git
synced 2026-05-03 17:59:18 -05:00
48c0cd4e9c
It doesn't make sense to call these scripts "before install" because they do actually install things themselves. In fact the whole separation into "install" and "before build" is probably not very useful, but keep it as long as we keep using Travis CI at all, as it maps better to its config file keys. No real changes.
21 lines
599 B
Bash
Executable File
21 lines
599 B
Bash
Executable File
#!/bin/bash
|
|
# Run install actions for SOCI build in CI builds
|
|
#
|
|
# Copyright (c) 2013 Mateusz Loskot <mateusz@loskot.net>
|
|
#
|
|
source ${SOCI_SOURCE_DIR}/scripts/ci/common.sh
|
|
|
|
packages_to_install="${SOCI_CI_PACKAGES} libc6-dbg"
|
|
if [ "${WITH_BOOST}" != OFF ]; then
|
|
packages_to_install="$packages_to_install libboost-dev libboost-date-time-dev"
|
|
fi
|
|
|
|
sudo apt-get update -qq -y
|
|
sudo apt-get install -qq -y ${packages_to_install}
|
|
|
|
install_script="${SOCI_SOURCE_DIR}/scripts/ci/install_${SOCI_CI_BACKEND}.sh"
|
|
if [ -x ${install_script} ]; then
|
|
echo "Running ${install_script}"
|
|
${install_script}
|
|
fi
|