aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.travis/build.sh
diff options
context:
space:
mode:
Diffstat (limited to '.travis/build.sh')
-rwxr-xr-x.travis/build.sh26
1 files changed, 0 insertions, 26 deletions
diff --git a/.travis/build.sh b/.travis/build.sh
deleted file mode 100755
index eeeec17..0000000
--- a/.travis/build.sh
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/env bash
-
-set -o errexit -o nounset -o pipefail -o xtrace
-
-readonly boost_fs="boost_${boost_version//\./_}"
-readonly boost_dir="$HOME/$boost_fs"
-readonly boost_librarydir="$boost_dir/stage/$arch/$build_type/lib"
-
-readonly build_dir="$HOME/build"
-readonly install_dir="$HOME/install"
-
-main() {
- mkdir -p -- "$build_dir"
- cd -- "$build_dir"
- cmake \
- -D "CMAKE_BUILD_TYPE=$build_type" \
- -D "CMAKE_INSTALL_PREFIX=$install_dir" \
- -D "BOOST_ROOT=$boost_dir" \
- -D "BOOST_LIBRARYDIR=$boost_librarydir" \
- -D ENABLE_TESTS=ON \
- "$TRAVIS_BUILD_DIR"
- cmake --build . --config "$build_type" --target install -- -j
- "$install_dir/bin/unit_tests" --log_level=all
-}
-
-main