use travis ci with java 8