Skip to content

Commit

Permalink
On CI only use mdbook 0.1.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Dec 14, 2018
1 parent 8c2dd6e commit 0615d91
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@ dist: trusty
git:
depth: 1

# Using 'cache: cargo' to cache target/ and all of $HOME/.cargo/
# doesn't work well: the cache is large and it takes several minutes
# to move it to and from S3. So instead we only cache the mdbook
# binary.
cache:
directories:
- $HOME/.cargo/bin/

matrix:
include:
- env: TARGET=x86_64-unknown-linux-gnu
Expand Down Expand Up @@ -48,7 +40,7 @@ matrix:
ALT=i686-unknown-linux-gnu
rust: nightly
install:
- mdbook --help || cargo install mdbook --force
- 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
script:
- cargo test --features=deny-warnings
- cargo doc --no-deps
Expand Down

0 comments on commit 0615d91

Please sign in to comment.