Change Travis config to use Java 8