use jdk8 on travis