forked from mirror/async-std
Only install mdbook if building the book
This commit is contained in:
parent
b6c8186846
commit
b39c720681
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ matrix:
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- rustup component add rustfmt
|
- rustup component add rustfmt
|
||||||
- (test -x $HOME/.cargo/bin/mdbook || ./ci/install-mdbook.sh)
|
- if [[ -n "$BUILD_BOOK" ]]; then (test -x $HOME/.cargo/bin/mdbook || ./ci/install-mdbook.sh); fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- if ![[ -n "$BUILD_BOOK" ]]; then cargo check --all --benches --bins --examples --tests && cargo test --all; fi
|
- if ![[ -n "$BUILD_BOOK" ]]; then cargo check --all --benches --bins --examples --tests && cargo test --all; fi
|
||||||
|
|
Loading…
Reference in a new issue