Skip to content

Commit

Permalink
Merge pull request #280 from dhardy/travis
Browse files Browse the repository at this point in the history
Travis: use install-update to handle updating cargo-web
  • Loading branch information
dhardy committed Mar 3, 2018
2 parents b6346fe + 16ff8b4 commit c4df129
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c4df129

Please sign in to comment.