diff options
author | Bjørn Christian Seime <bjorncs@oath.com> | 2017-10-16 14:03:29 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@oath.com> | 2017-10-16 21:16:10 +0200 |
commit | c85d8be22ce8095271b0925b1acf78210e089f78 (patch) | |
tree | b71338dde3af7c8cb53a8f3b0550363c2c492907 /travis/travis-build-full.sh | |
parent | 3db5ac405d7716d9faefe1c933efbe501fbaea92 (diff) |
Improve Travis builds
Test install step as separate job for PRs. Use single job for complete
build for master branch.
Diffstat (limited to 'travis/travis-build-full.sh')
-rwxr-xr-x | travis/travis-build-full.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/travis/travis-build-full.sh b/travis/travis-build-full.sh new file mode 100755 index 00000000000..7ee9a1c065f --- /dev/null +++ b/travis/travis-build-full.sh @@ -0,0 +1,15 @@ +#!/bin/bash +# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +set -e + +source /source/travis/prelude.sh +source ${SOURCE_DIR}/travis/cpp-prelude.sh + +cd ${SOURCE_DIR} +sh ./bootstrap.sh java +mvn install --no-snapshot-updates --batch-mode --threads ${NUM_THREADS} +bash ${SOURCE_DIR}/bootstrap-cmake.sh ${SOURCE_DIR} +make -j ${NUM_THREADS} +ctest3 --output-on-failure -j ${NUM_THREADS} +ccache --show-stats +make install |