Cache Brew builds with travis ci
问题 I have a Travis CI osx build with a brew dependency that has to be built from source. I know that Travis has the cache feature, but it doesn't have any documentation on how to cache brew builds or outputs. Any idea on how to cache a brew package in travis? 回答1: There are 3 separate, loosely related problems here: Cache downloaded bottles Cache locally-built bottles Cache Homebrew metadata You don't necessarily need all three, so follow whichever sections fit your needs. Cache downloaded