diff --git a/.travis.yml b/.travis.yml index 4895edec47c..8ca3b813ac9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,11 @@ language: rust before_script: - rustup component add rustfmt-preview +- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update) +- (test -x $HOME/.cargo/bin/mdbook || cargo install --vers "^0.3" mdbook) +- cargo install-update -a +cache: + - cargo rust: - beta - nightly @@ -12,3 +17,9 @@ script: - cargo build - cargo fmt --all -- --check - cargo test --all +- mdbook build ./book/ + +env: + RUSTINFRA_DEPLOY_DIR: book/book +import: + - rust-lang/simpleinfra/travis-configs/static-websites.yml diff --git a/book/src/current_status.md b/book/src/current_status.md index 72d8e80f82e..04fb540fe7a 100644 --- a/book/src/current_status.md +++ b/book/src/current_status.md @@ -23,4 +23,4 @@ crate. The crate will continue to exist. Check out the [polonius working group][wg] of the compiler team. -[wg]; https://rust-lang.github.io/compiler-team/working-groups/polonius/ +[wg]: https://rust-lang.github.io/compiler-team/working-groups/polonius/