From e3f468b8a96e3c8e0755010e0bcb036682715f0b Mon Sep 17 00:00:00 2001 From: Konrad Borowski Date: Sat, 17 Feb 2018 18:23:56 +0100 Subject: [PATCH] Disable Travis build cache (#259) As Cargo doesn't remove old build artifacts, a build cache means a lot of time is spent downloading constantly increasing in size build artifacts, especially for nightly releases. --- .travis.yml | 6 ------ src/lib.rs | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0af7541..802c091 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,12 +27,6 @@ matrix: sudo: false dist: trusty -cache: - apt: true - directories: - - target/debug/deps - - target/debug/build - script: - cargo build $FEATURES - cargo test -v $FEATURES diff --git a/src/lib.rs b/src/lib.rs index 655ead5..8a7d2bb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -33,7 +33,7 @@ //! # use reqwest::{Error, Response}; //! //! # fn run() -> Result<(), Error> { -//! let text = reqwest::get("https://www.rust-lang.org")? +//! let body = reqwest::get("https://www.rust-lang.org")? //! .text()?; //! //! println!("body = {:?}", body);