From 755967ac1272f0cf942709496a6bf73e69579bcd Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Mon, 16 Jul 2018 12:36:49 +0300 Subject: [PATCH] Allow caching for Travis builds --- .travis.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 275c0c9..0943df3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,12 @@ language: rust -cache: cargo -rust: - - stable + +cache: + cargo: true + timeout: 450 + before_script: - rustup component add rustfmt-preview + script: - cargo fmt --all -- --write-mode=check - cargo build