1sudo: false 2 3language: java 4 5jdk: 6 - openjdk8 7 - openjdk11 8 9addons: 10 apt: 11 packages: 12 - openjdk-8-source 13 14install: mvn -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn install -U -DskipTests=true -f $ROOT_POM 15 16# https://docs.travis-ci.com/user/common-build-problems/#build-times-out-because-no-output-was-received 17script: travis_wait 60 mvn -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn verify -U -Dmaven.javadoc.skip=true -f $ROOT_POM 18 19after_success: 20 - util/deploy_snapshot.sh 21 - util/update_snapshot_docs.sh 22 23after_failure: 24 - util/print_surefire_reports.sh 25 26cache: 27 directories: 28 - $HOME/.m2 29 30env: 31 global: 32 - secure: "IPvqFwnLx/GXyImJuwM2MIvzDlBLqEXaQXFGJgAP1nbuenaLAloOOlqQ+iy2FDLBD/j+zjSbR3WWF9DIT4YxAS03Z6iMwxh7GCfk+tyhVtLQnwt7w1rquyhbrrGFsY5U0hr5q80Ww6J+zfp2yZ8aP9FHSy5ahNjqys4FtubOWLk=" 33 - secure: "G77Wt2h2fceQ867i1uwOjUygrNeBpLRS8sxgfUZsO66dvlrx1wYFpZLLRIiPcy01peUTE2SvXIXLHKe9v3AlMonPibsQtvvfQSVfx+jgKwLZx9cuf/M5VQlD3etRUh4K/rBezlxWRroeeKcM2DQqiEVLsTDSyNZV9kVAjwfLTvM=" 34 - secure: "wieIClPLTXS3QjDzqyp0TqIrVP/Q6iWNPOtcUQYfdDZJGwufE61laTFtzVKXZRb7uJ4GXDObcVU3AcpAwkTX/5sEksBxgv3TZ5Qi0mVx2GRmbE06ULLxi7sPnTCZ/VFtselDWcWArWGAcdCjW9gcCrgj5K/+sYpVKz9a8V+SDM4=" 35 matrix: 36 - ROOT_POM="pom.xml" 37 - ROOT_POM="android/pom.xml" 38 39branches: 40 only: 41 - master 42 - /^release.*$/ 43