From a5506eadfefe2d203b408a8fd1552d7a0c8ca686 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Sun, 15 Jul 2018 19:58:12 +0200 Subject: [PATCH] Cache build directory to speed up CI --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index e6e9122..363e1bc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,10 @@ services: script: - docker run --rm -it -v "$(pwd)":/home/rust/src ekidd/rust-musl-builder sh -c 'sudo chown -R rust . && cargo test && cargo build --release' +cache: + directories: + - ./target/ + before_deploy: - ./ci/before_deploy.sh