Update .travis.yaml to java 8