set Java 8 for travis config