소스 검색

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