From 17acbb9fbf17c0d0b043af85475094ff3037f37e Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Sat, 4 Mar 2017 22:22:38 +0000 Subject: [PATCH] Upgrade Travis configuration to use a recent version of Oracle JDK 8 By default, Travis uses a rather old version of Oracle's JDK 8 in its container-based infrastructure. It would appear that this is what has been causing the build to fail with minimal diagnostics. This commit implements a suggestion [1] to get a more recent version of Java 8 by installing the oracle-java8-installer package via the APT addon. [1] https://github.com/travis-ci/travis-ci/issues/3259#issuecomment-130860338 --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index db7f567d..f027121d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,10 @@ sudo: false +addons: + apt: + packages: + - oracle-java8-installer language: java jdk: - oraclejdk8 script: - - "./gradlew build buildSamples --stacktrace --info --no-daemon" \ No newline at end of file + - "./gradlew build buildSamples --stacktrace --no-daemon" \ No newline at end of file