From 16ff8b49cea7b533640208080b2e54f88645dd0f Mon Sep 17 00:00:00 2001 From: Diggory Hardy Date: Sat, 3 Mar 2018 14:17:52 +0000 Subject: [PATCH] Travis: use install-update to handle updating cargo-web --- .travis.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 60a2cc5fe47..cb50df2a52d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -39,10 +39,9 @@ matrix: - rust: nightly install: - rustup target add wasm32-unknown-unknown - # This did use --force to force updating, but that causes lots of - # wasted CPU time (including timeouts sometimes). - # Cargo *should* have a --update option. - - cargo install cargo-web || true + # Use cargo-update since we need a real update-or-install command + - cargo install cargo-update || true + - cargo install-update -i cargo-web script: - cargo web test --target wasm32-unknown-unknown --nodejs