Restrict travis build to jdk8