The default cache: cargo setting caches $HOME/.cargo and $TRAVIS_BUILD_DIR/target. This is producing a 38Gb cache archive, which is slow to download and extract (~3 mins) and slow to compress and upload. I think ultimately it's slowing builds down. A build is currently taking about 20 mins. This change removes the target directory from the cache to see how that affects things.
Edit actually the 38Gb might be the sum of all platform and version caches for a given branch. Nonetheless the 3 mins is accurate.
The default
cache: cargo
setting caches$HOME/.cargo
and$TRAVIS_BUILD_DIR/target
. This is producing a 38Gb cache archive, which is slow to download and extract (~3 mins) and slow to compress and upload. I think ultimately it's slowing builds down. A build is currently taking about 20 mins. This change removes thetarget
directory from the cache to see how that affects things.Edit actually the 38Gb might be the sum of all platform and version caches for a given branch. Nonetheless the 3 mins is accurate.