Skip to content

Commit 17acbb9

Browse files
committed
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] travis-ci/travis-ci#3259 (comment)
1 parent 727f6cc commit 17acbb9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: .travis.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
sudo: false
2+
addons:
3+
apt:
4+
packages:
5+
- oracle-java8-installer
26
language: java
37
jdk:
48
- oraclejdk8
59
script:
6-
- "./gradlew build buildSamples --stacktrace --info --no-daemon"
10+
- "./gradlew build buildSamples --stacktrace --no-daemon"

0 commit comments

Comments
 (0)