Skip to content

Commit b39c720

Browse files
author
James Munns
committed
Only install mdbook if building the book
1 parent b6c8186 commit b39c720

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ matrix:
1818

1919
before_script:
2020
- rustup component add rustfmt
21-
- (test -x $HOME/.cargo/bin/mdbook || ./ci/install-mdbook.sh)
21+
- if [[ -n "$BUILD_BOOK" ]]; then (test -x $HOME/.cargo/bin/mdbook || ./ci/install-mdbook.sh); fi
2222

2323
script:
2424
- if ![[ -n "$BUILD_BOOK" ]]; then cargo check --all --benches --bins --examples --tests && cargo test --all; fi

0 commit comments

Comments
 (0)