switch travis to JDK8