add compilation with java 8 on travis