From 67cc779ee517537334b4b24c626cb12388c55fc1 Mon Sep 17 00:00:00 2001 From: Alan Potter Date: Tue, 27 Feb 2024 10:27:35 -0500 Subject: [PATCH] ci: cache rust Installing the rust toolchain takes a long time (especially in the 3.10 job, for some reason). The Travis doc says `cargo: true` will cache $HOME/.cargo, which should help. --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index cbcd319b..d54311ce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,6 +20,7 @@ install: pip -q install --upgrade "tox < 4" tox-travis script: tox cache: + cargo: true pip: true directories: - $TRAVIS_BUILD_DIR/.tox/