mirror of
https://github.com/denoland/deno.git
synced 2025-03-03 17:34:47 -05:00
travis: don't cache unnecessary cargo and rustup files
This commit is contained in:
parent
07d5035dd7
commit
9e317c61d7
1 changed files with 8 additions and 0 deletions
|
@ -70,6 +70,14 @@ install:
|
|||
fi
|
||||
hyperfine --version
|
||||
fi
|
||||
- |-
|
||||
# Remove unnnecessary cargo and rustup directories.
|
||||
# This keeps the Travis CI cache small and fast.
|
||||
rm -rf "$CARGO_HOME"registry
|
||||
rm -rf "$RUSTUP_HOME"downloads
|
||||
rm -rf "$RUSTUP_HOME"tmp
|
||||
rm -rf "$RUSTUP_HOME"toolchains/*/etc
|
||||
rm -rf "$RUSTUP_HOME"toolchains/*/share
|
||||
before_script:
|
||||
- ./tools/setup.py
|
||||
script:
|
||||
|
|
Loading…
Add table
Reference in a new issue