having the same issue as Build randomly using jdk 13 but I do specify
osx_image: xcode10.1 as suggested there.
xcode10.1 provides jdk 13 instead of 11 as per https://docs.travis-ci.com/user/reference/osx/ .
- os: osx osx_image: xcode10.1
$ java -Xmx32m -version openjdk version "13.0.1" 2019-10-15 OpenJDK Runtime Environment (build 13.0.1+9) OpenJDK 64-Bit Server VM (build 13.0.1+9, mixed mode, sharing)
Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 57
tried emptying the cache and restart the job with no success.