Skip to content

Commit 74916aa

Browse files
committed
invoke cargo to install mdbook
1 parent e7b1ed0 commit 74916aa

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ language: rust
33
cache: pip
44

55
install:
6-
- bash ci/install.sh
76
- source ~/.cargo/env || true
7+
- bash ci/install.sh
88

99
script:
1010
- true

ci/install.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/bash
22
set -ex
33

4+
cargo install cargo install mdbook --vers "0.0.28"
5+
46
if command -v ghp-import >/dev/null 2>&1; then
57
pip install ghp-import
6-
fi
8+
fi

0 commit comments

Comments
 (0)