From a3cccfc4c4f0b20b8fa4661a5dd001f54324ea95 Mon Sep 17 00:00:00 2001 From: Tom Parker-Shemilt Date: Sun, 26 Apr 2020 15:00:12 +0100 Subject: [PATCH] Add sccache to travis config --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 0b914ef..6832301 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 \ No newline at end of file