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

View File

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