From 165b57399ac7482d73a52401003370271016acec Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Sat, 17 Dec 2022 14:08:15 +0100 Subject: [PATCH] CI: Cache dependencies Attempt to cache dependencies with the travis cache. This avoids redownloading avr-gcc for each stage of the pipeline. This /might/ improve the download failures we're seeing recently, although the travis cache is also networked. --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index b183e53a0..1f301ad78 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,10 @@ dist: focal language: minimal +cache: + directories: + .dependencies/ + before_install: # Prepare the dependencies for the old build environment - sudo apt-get install -y python3-polib python3-pyelftools python3-regex