Travis tweaks. Speed things up by skipping 'install'. Give Maven more

memory.
This commit is contained in:
Tim Donohue
2014-08-21 20:34:36 +00:00
parent 39f0e8a6a4
commit 7002dc17f9

View File

@@ -1,5 +1,13 @@
language: java
script: "travis_retry mvn clean package license:check -Dmaven.test.skip=false"
cache:
directories:
- $HOME/.m2
# Skip 'mvn install', not really needed for our tests
install: "echo 'Skipping install, dependencies will be downloaded during build and test.'"
# Build and test
# travis_retry = retry build/test up to 3 times
# -B = batch/non-interactive mode (recommended for CI)
# -V = display version info before build
script: "travis_retry mvn clean package license:check -Dmaven.test.skip=false -B -V"
# Give Maven 2GB of memory to work with
env: MAVEN_OPTS=-Xmx2048M