Browse Source

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.
Yuri D'Elia 1 year ago
parent
commit
165b57399a
1 changed files with 4 additions and 0 deletions
  1. 4 0
      .travis.yml

+ 4 - 0
.travis.yml

@@ -1,6 +1,10 @@
 dist: focal
 dist: focal
 language: minimal
 language: minimal
 
 
+cache:
+  directories:
+    .dependencies/
+
 before_install:
 before_install:
   # Prepare the dependencies for the old build environment
   # Prepare the dependencies for the old build environment
   - sudo apt-get install -y python3-polib python3-pyelftools python3-regex
   - sudo apt-get install -y python3-polib python3-pyelftools python3-regex