update travis config to JDK8