Add changes to travis.yml to avoid exception when testing hadoop