While building one of my repositories with
Shippable, I got the following error:
Solution for travis
See Travis issue 4042. Adding the lines 10 to 13 into your .travis.yml seems to cause Travis to use a newer JDK version:
That caused my build to run just fine in travis.
Solution for shippable
Unfortunately, I don’t know a solution for Shippable right now. However, you can view the progress in this bug
report of mine.
Update
Using a custom image as described in the mentioned ticket, I
got my build working. This is my shippable.yml:
TL;DR
Both Travis and Shippable are able to build Java 1.8u45 code, however not out of the box.