Skip to content

Commit

Permalink
ci: cache rust
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
apotterri committed Feb 27, 2024
1 parent 648cdb5 commit 67cc779
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 67cc779

Please sign in to comment.