Add sccache to travis config

This commit is contained in:
Tom Parker-Shemilt 2020-04-26 15:00:12 +01:00
parent a8107364b3
commit a3cccfc4c4
1 changed files with 5 additions and 0 deletions

View File

@ -1,10 +1,15 @@
language: rust
before_script: cargo install sccache
script: cargo run
env:
global:
- RUST_LOG=warn
- RUSTC_WRAPPER=sccache
- SCCACHE_CACHE_SIZE=1G
cache:
directories:
- ~/.cargo/bin
- ~/.cache/sccache
- results # So we don't have to check all the things every time