浏览代码

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 年之前
父节点
当前提交
165b57399a
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      .travis.yml

+ 4 - 0
.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