Merge pull request #237 from rust-lang/cache

Use cache: cargo
This commit is contained in:
Steve Klabnik
2016-08-29 12:34:24 -04:00
committed by GitHub
+2 -1
View File
@@ -1,10 +1,11 @@
sudo: false
language: rust
cache: cargo
rust:
- nightly
- stable
before_script:
- cargo install mdbook
- (cargo install mdbook || true)
script:
- PATH=$PATH:/home/travis/.cargo/bin mdbook test
- PATH=$PATH:/home/travis/.cargo/bin mdbook build