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:
committed by
Sean McArthur
parent
aed318cb75
commit
e3f468b8a9
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user