From 6810ad40606263944b0d11d0904d2d0d5f57cb39 Mon Sep 17 00:00:00 2001 From: Lzu Tao Date: Mon, 21 Oct 2019 21:39:39 +0700 Subject: [PATCH] build: use minimal rustup profile to avoid rust-docs components --- .travis.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0e85c20..35c0d7d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,13 @@ -language: rust +language: shell cache: cargo -rust: - - nightly +before_install: + - curl -sSL https://sh.rustup.rs | sh -s -- -y --default-toolchain=nightly --profile=minimal + - export PATH="$HOME/.cargo/bin:$PATH" before_script: - (cargo install mdbook --force || true) script: - - export PATH=$PATH:/home/travis/.cargo/bin; - mdbook test -