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