Skip to content

Commit

Permalink
Merge pull request #114 from lqd/book
Browse files Browse the repository at this point in the history
Build the book on CI
  • Loading branch information
lqd authored Sep 3, 2019
2 parents 62944e1 + 3e408e9 commit f52fd71
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion book/src/current_status.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/

0 comments on commit f52fd71

Please sign in to comment.