diff options
Diffstat (limited to 'travis/travis-build-install.sh')
-rwxr-xr-x | travis/travis-build-install.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/travis/travis-build-install.sh b/travis/travis-build-install.sh new file mode 100755 index 00000000000..6469a346045 --- /dev/null +++ b/travis/travis-build-install.sh @@ -0,0 +1,14 @@ +#!/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} --quiet\ + -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -Dmaven.source.skip=true +bash ${SOURCE_DIR}/bootstrap-cmake.sh ${SOURCE_DIR} "-DEXCLUDE_TESTS_FROM_ALL=TRUE" +make -j ${NUM_THREADS} +make install |