Install wasm-bindgen-cli if it does not exist on CI (#894)

This commit is contained in:
Justin Starry 2020-01-24 18:07:42 +08:00 committed by GitHub
parent b4bd3f1054
commit d4868b0e58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ install:
- rustup target add wasm32-unknown-unknown
- cargo install cargo-update || true
- cargo install-update-config --version =0.2.58 wasm-bindgen-cli
- cargo install-update wasm-bindgen-cli
- cargo install-update --allow-no-update wasm-bindgen-cli
- LATEST_CHROMEDRIVER_VERSION=`curl -s "https://chromedriver.storage.googleapis.com/LATEST_RELEASE"`
- curl --retry 5 -LO "https://chromedriver.storage.googleapis.com/${LATEST_CHROMEDRIVER_VERSION}/chromedriver_linux64.zip"
- unzip chromedriver_linux64.zip