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
						Sean McArthur
					
				
			
			
				
	
			
			
			
						parent
						
							aed318cb75
						
					
				
				
					commit
					e3f468b8a9
				
			| @@ -27,12 +27,6 @@ matrix: | |||||||
| sudo: false | sudo: false | ||||||
| dist: trusty | dist: trusty | ||||||
|  |  | ||||||
| cache: |  | ||||||
|   apt: true |  | ||||||
|   directories: |  | ||||||
|     - target/debug/deps |  | ||||||
|     - target/debug/build |  | ||||||
|  |  | ||||||
| script: | script: | ||||||
|   - cargo build $FEATURES |   - cargo build $FEATURES | ||||||
|   - cargo test -v $FEATURES |   - cargo test -v $FEATURES | ||||||
|   | |||||||
| @@ -33,7 +33,7 @@ | |||||||
| //! # use reqwest::{Error, Response}; | //! # use reqwest::{Error, Response}; | ||||||
| //! | //! | ||||||
| //! # fn run() -> Result<(), Error> { | //! # fn run() -> Result<(), Error> { | ||||||
| //! let text = reqwest::get("https://www.rust-lang.org")? | //! let body = reqwest::get("https://www.rust-lang.org")? | ||||||
| //!     .text()?; | //!     .text()?; | ||||||
| //! | //! | ||||||
| //! println!("body = {:?}", body); | //! println!("body = {:?}", body); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user