Skip to content

Commit

Permalink
Use a newer JDK 8 for travis build
Browse files Browse the repository at this point in the history
The travis docker image uses JDK 8u31, which is ancient and has type
inference bugs that are fixed at head. This change causes it to use
8u111 instead:

Fixes google#2625

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=138184449
  • Loading branch information
cushon authored and cpovirk committed Nov 4, 2016
1 parent 8665e6d commit fd0d682
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ language: java
jdk:
- oraclejdk8

# https://github.com/travis-ci/travis-ci/issues/3259#issuecomment-130860338
addons:
apt:
packages:
- oracle-java8-installer

install: mvn -B install -U -DskipTests=true

# https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received
Expand Down

0 comments on commit fd0d682

Please sign in to comment.