Skip to content

Commit 0615d91

Browse files
committed
On CI only use mdbook 0.1.7.
1 parent 8c2dd6e commit 0615d91

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.travis.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,6 @@ dist: trusty
66
git:
77
depth: 1
88

9-
# Using 'cache: cargo' to cache target/ and all of $HOME/.cargo/
10-
# doesn't work well: the cache is large and it takes several minutes
11-
# to move it to and from S3. So instead we only cache the mdbook
12-
# binary.
13-
cache:
14-
directories:
15-
- $HOME/.cargo/bin/
16-
179
matrix:
1810
include:
1911
- env: TARGET=x86_64-unknown-linux-gnu
@@ -48,7 +40,7 @@ matrix:
4840
ALT=i686-unknown-linux-gnu
4941
rust: nightly
5042
install:
51-
- mdbook --help || cargo install mdbook --force
43+
- travis_retry curl -Lf https://github.com/rust-lang-nursery/mdBook/releases/download/v0.1.7/mdbook-v0.1.7-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=$HOME/.cargo/bin
5244
script:
5345
- cargo test --features=deny-warnings
5446
- cargo doc --no-deps

0 commit comments

Comments
 (0)