diff options
Diffstat (limited to 'travis/travis-build-java.sh')
-rwxr-xr-x | travis/travis-build-java.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/travis/travis-build-java.sh b/travis/travis-build-java.sh index 0a69e167dba..37a61d19f69 100755 --- a/travis/travis-build-java.sh +++ b/travis/travis-build-java.sh @@ -2,11 +2,9 @@ # Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. set -e -SOURCE_DIR=/source -NUM_THREADS=4 +source /source/travis/prelude.sh cd "${SOURCE_DIR}" export MAVEN_OPTS="-Xms128m -Xmx1g" -source /etc/profile.d/devtoolset-6.sh || true sh ./bootstrap.sh java -mvn install -nsu -B -T ${NUM_THREADS} -V # Should ideally split out test phase, but some unit tests fails on 'mvn test' +mvn install --no-snapshot-updates --batch-mode --threads ${NUM_THREADS} |