Skip to content

Commit 50dd04d

Browse files
committed
Force Travis CI to run with JDK 8 as otherwise the build is currently failing
Our CI builds were failing with a non-understandable fatal error on the JVM when forking to run the junit tests. The builds passed locally, so we suspected from JVM changes on CI. Looking on Travis CI news it seems they bumped the environments automatically to Java 11, so it must be related: https://travis-ci.community/t/install-of-oracle-jdk-8-failing/3038/8 Forcing the build to run with JDK 8 (which is what we urrently support at Feedzai) seems to have fixed the problem.
1 parent 3600efb commit 50dd04d

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,15 @@ services:
44
- docker
55

66
language: java
7+
dist: trusty
8+
9+
jdk:
10+
- oraclejdk8
11+
12+
addons:
13+
apt:
14+
packages:
15+
- oracle-java8-installer
716

817
# Travis is configured to run on pushed branches and pull requests so if we don't filter branches it runs twice when
918
# we push the PR branch in our repo

0 commit comments

Comments
 (0)