diff options
author | Craig Earls <enderw88@gmail.com> | 2015-08-06 19:38:39 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2015-08-06 19:38:39 -0700 |
commit | 0e82bd0d63bd0a6e9a9c77f0ef55e332b357368c (patch) | |
tree | fea3628fe67824069641f517a659cd88287ffdfc /tools/travis-install.sh | |
parent | 254d82e5eb123feaf87e3f7096a1f8389bac60b3 (diff) | |
parent | 3c2d228ddc74b75122b07a87bbd06263092a9661 (diff) | |
download | fork-ledger-0e82bd0d63bd0a6e9a9c77f0ef55e332b357368c.tar.gz fork-ledger-0e82bd0d63bd0a6e9a9c77f0ef55e332b357368c.tar.bz2 fork-ledger-0e82bd0d63bd0a6e9a9c77f0ef55e332b357368c.zip |
Merge commit '3c2d228ddc74b75122b07a87bbd06263092a9661' into next
Diffstat (limited to 'tools/travis-install.sh')
-rwxr-xr-x | tools/travis-install.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/travis-install.sh b/tools/travis-install.sh new file mode 100755 index 00000000..4e8bdc48 --- /dev/null +++ b/tools/travis-install.sh @@ -0,0 +1,22 @@ +#!/usr/bin/env bash + +#set -x +set -e +set -o pipefail + +if [ "${TRAVIS_OS_NAME}" = "osx" ]; then + for formula in $(echo "${BREWS//,/ }"); do + echo "Checking ${formula} formula" + brew outdated "${formula}" \ + || (brew unlink "${formula}" + brew install "${formula}" + ) + done +fi + +if [ -d "${BOOST_ROOT}" ]; then + (cd "${BOOST_ROOT}" + ./bootstrap.sh --with-libraries="${BOOST_LIBS}" + ./b2 threading=multi --prefix="${BOOST_ROOT}" -d0 install + ) +fi |