summaryrefslogtreecommitdiffstats
path: root/travis/travis-build-install.sh
blob: 6469a346045571c6203e5e809f5d3edb63a074e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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