Skip to content

Commit 7e22adb

Browse files
committed
Fix CI and cargo install tools
1 parent 101088e commit 7e22adb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ env:
1313
before_script:
1414
- rustup target add wasm32-unknown-unknown
1515
- rustup target add i686-pc-windows-gnu
16-
- which wasm-gc || cargo install --git https://github.com/alexcrichton/wasm-gc
17-
- which cargo-readme || cargo install cargo-readme
16+
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
17+
- (test -x $HOME/.cargo/bin/cargo-readme || cargo install --vers "^3" cargo-readme)
18+
- (test -x $HOME/.cargo/bin/wasm-gc || cargo install --vers "^0.1.6" wasm-gc)
19+
- cargo install-update -a
1820

1921
script:
2022
- "$SCRIPT"

0 commit comments

Comments
 (0)