Closed MrPointer closed 6 years ago
Update: As stated by Travis-CI docs - They don't recommend storing SDKs in cache, as they are fast to install but slow to download, which doesn't speed up the build much. This ticket/issue can now be seen as unnecessary and closed.
Update: After a few PRs of triage, it seems that not storing cache is a bad idea.
This is because Arduino file servers are sometimes extremely laggy, causing builds to reach a horrible completion time of 10 minutes (should've been 1 when servers are functioning normally).
Travis-CI has the ability to cache downloaded packages between builds to save some time and network traffic. We should use it to cache the Arduino SDK, as downloading and installing it takes most of the build's traffic and time.