From 19fa5355f293459d7f0384c82030ee664bb04eec Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Thu, 27 Sep 2018 19:50:57 +0300 Subject: [PATCH] Experiment with vanilla caching --- .travis.yml | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/.travis.yml b/.travis.yml index 13a17f7..aea9abe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,23 +1,9 @@ language: rust -env: CARGO_INCREMENTAL=0 +rust: + - stable -cache: - cargo: true - timeout: 450 +cache: cargo -stages: - - lint - - test - -jobs: - include: - - stage: test - script: - - cargo build - - cargo test - - stage: lint - before_script: - - rustup component add rustfmt-preview - script: - - cargo fmt --all -- --check +script: + - cargo check --all