Skip to content

Commit 3c98e6d

Browse files
committed
Use cargo-sweep to manage cargo caches
1 parent fc97bd9 commit 3c98e6d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.travis.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
before_cache: |
2+
if command -v cargo; then
3+
! command -v cargo-sweep && cargo install cargo-sweep
4+
cargo sweep -i
5+
cargo sweep -t 15
6+
fi
17
28
matrix:
39
fast_finish: true
@@ -56,7 +62,9 @@ matrix:
5662
cache: pip
5763
env: JOBCACHE=9
5864
install: pip install flake8
59-
script: flake8 . --count --exclude=./.*,./Lib,./vm/Lib --select=E9,F63,F7,F82 --show-source --statistics
65+
script:
66+
flake8 . --count --exclude=./.*,./Lib,./vm/Lib --select=E9,F63,F7,F82
67+
--show-source --statistics
6068

6169
- name: Publish documentation
6270
language: rust

0 commit comments

Comments
 (0)