Update Travis CI config to Java 8