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.
This commit is contained in:
Konrad Borowski
2018-02-17 18:23:56 +01:00
committed by Sean McArthur
parent aed318cb75
commit e3f468b8a9
2 changed files with 1 additions and 7 deletions

View File

@@ -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

View File

@@ -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);