mirror of https://github.com/rust-lang/nomicon
parent
6810ad4060
commit
7c1607a50f
@ -1,13 +1,15 @@
|
||||
language: shell
|
||||
|
||||
cache: cargo
|
||||
cache:
|
||||
directories:
|
||||
- "$HOME/.cargo/bin"
|
||||
|
||||
before_install:
|
||||
- curl -sSL https://sh.rustup.rs | sh -s -- -y --default-toolchain=nightly --profile=minimal
|
||||
- export PATH="$HOME/.cargo/bin:$PATH"
|
||||
|
||||
before_script:
|
||||
- (cargo install mdbook --force || true)
|
||||
install:
|
||||
- cargo install -Z install-upgrade mdbook
|
||||
|
||||
script:
|
||||
- mdbook test
|
||||
|
Loading…
Reference in new issue