Fix the build

We can't use the cache dir because cargo install doesn't really have a
way to say "make sure this is installed". If it is, then it errors out,
and you can force it to install, but then we're not using the cache.
This commit is contained in:
Steve Klabnik 2016-08-26 16:11:55 -04:00
parent bcd04062b9
commit 3a7317a6a8

View File

@ -1,11 +1,10 @@
sudo: false
language: rust
cache: cargo
rust:
- nightly
- stable
before_script:
- cargo install mdbook --git https://github.com/azerupi/mdBook.git
- cargo install mdbook
script:
- PATH=$PATH:/home/travis/.cargo/bin mdbook test
- PATH=$PATH:/home/travis/.cargo/bin mdbook build