Updated travis file to only work with jdk8