mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-02-03 07:48:41 +08:00
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:
parent
bcd04062b9
commit
3a7317a6a8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user