setup travis to use java 1.8