Java8 support for travis.