Update Travis CI to use Java 8