From 188254743e5a28e874fba2263e9dccb1918c80b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Re=CC=81my=20Rakic?= Date: Fri, 30 Aug 2019 21:54:31 +0200 Subject: [PATCH 1/3] Fix a link --- book/src/current_status.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/ From 8eaf9330dd5530c53e94e2b2cefc91cc18b3825e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Re=CC=81my=20Rakic?= Date: Fri, 30 Aug 2019 22:17:31 +0200 Subject: [PATCH 2/3] Build book on CI --- .travis.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4895edec47c..0d567c89954 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,13 @@ script: - cargo build - cargo fmt --all -- --check - cargo test --all +- mdbook build ./book/ + +deploy: + provider: pages + skip-cleanup: true + github-token: $GITHUB_TOKEN + local-dir: book/book + keep-history: false + on: + branch: master From 3e408e98a55699750b3d42532acac55db2752b3b Mon Sep 17 00:00:00 2001 From: lqd Date: Tue, 3 Sep 2019 15:06:31 +0200 Subject: [PATCH 3/3] use T-infra cool new tools --- .travis.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0d567c89954..8ca3b813ac9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,11 +19,7 @@ script: - cargo test --all - mdbook build ./book/ -deploy: - provider: pages - skip-cleanup: true - github-token: $GITHUB_TOKEN - local-dir: book/book - keep-history: false - on: - branch: master +env: + RUSTINFRA_DEPLOY_DIR: book/book +import: + - rust-lang/simpleinfra/travis-configs/static-websites.yml