feat(tests): test that the book builds

master
Ashley Williams 7 years ago
parent 4b1e684ffc
commit 1489623d22
  1. 9
      .travis.yml

@ -12,6 +12,15 @@ matrix:
- cargo fmt --all -- --check
env: RUST_BACKTRACE=1
# book
- rust: stable
before_script:
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
- (test -x $HOME/.cargo/bin/mdbook || cargo install --vers "^0.1" mdbook)
- cargo install-update -a
script:
- cd docs && mdbook build
# dist linux binary
- env: TARGET=x86_64-unknown-linux-musl DEPLOY=1
rust: nightly

Loading…
Cancel
Save