Update .travis.yml

Fix for java8.