Update Travis CI config for Java 8