updated travis config to support java 8