Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Cache pyenv in CI #7470
Every OSX shard that uses Python 3.6 or 3.7, we waste about 2 minutes re-installing Python 3. Thanks to the insights from pantsbuild/setup#39, we can stop wasting this time by using the Travis cache.
We can safely add this to the cache for all shards, even if they don't use Pyenv, because Travis will simply upload an empty folder if there is nothing there.
Overall daily CI time reduced by 8 minutes.
This also allows us to add Python 3.6 on all OSX shards, so that we can use Python 3 in our build-support scripts.