File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -6,14 +6,6 @@ dist: trusty
6
6
git :
7
7
depth : 1
8
8
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
-
17
9
matrix :
18
10
include :
19
11
- env : TARGET=x86_64-unknown-linux-gnu
@@ -48,7 +40,7 @@ matrix:
48
40
ALT=i686-unknown-linux-gnu
49
41
rust : nightly
50
42
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
52
44
script :
53
45
- cargo test --features=deny-warnings
54
46
- cargo doc --no-deps
You can’t perform that action at this time.
0 commit comments