Add cache setting to .travis.yml