fix flake errors and add caching to travis