From 3c98e6da25ef6e53cbfeb5b65a3792c71693d772 Mon Sep 17 00:00:00 2001 From: coolreader18 <33094578+coolreader18@users.noreply.github.com> Date: Sat, 27 Jul 2019 15:27:38 -0500 Subject: [PATCH] Use cargo-sweep to manage cargo caches --- .travis.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8b3b4cc448..5e2b531591 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,9 @@ +before_cache: | + if command -v cargo; then + ! command -v cargo-sweep && cargo install cargo-sweep + cargo sweep -i + cargo sweep -t 15 + fi matrix: fast_finish: true @@ -56,7 +62,9 @@ matrix: cache: pip env: JOBCACHE=9 install: pip install flake8 - script: flake8 . --count --exclude=./.*,./Lib,./vm/Lib --select=E9,F63,F7,F82 --show-source --statistics + script: + flake8 . --count --exclude=./.*,./Lib,./vm/Lib --select=E9,F63,F7,F82 + --show-source --statistics - name: Publish documentation language: rust