From af0681f847bf3d9ec2aa5a879161d82bd5fd2759 Mon Sep 17 00:00:00 2001 From: Shenguito Date: Mon, 30 Sep 2019 15:06:02 +0100 Subject: [PATCH] Merge pull request #51 from feedzai/fix-ci-travis Force Travis CI to run with JDK 8 as otherwise the build is currently failing Back-ported to branches: hf-0.3.X: hf-0.4.X: hf-1.0.X: --- .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.travis.yml b/.travis.yml index a35739d..cefe813 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,13 @@ language: java +dist: trusty + +jdk: + - oraclejdk8 + +addons: + apt: + packages: + - oracle-java8-installer # Travis is configured to run on pushed branches and pull requests so if we don't filter branches it runs twice when # we push the PR branch in our repo