diff --git a/.appveyor.yml b/.appveyor.yml index e0c30afb..2b3d6e4a 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -81,10 +81,10 @@ before_test: - sed -rie "s/#define std([[:alpha:]]+)[[:space:]]+\(__acrt_iob_func\(([[:digit:]]+)\)\)/#define std\1 (\&__iob_func()[\2])/" "C:\msys64\mingw32\i686-w64-mingw32\include\stdio.h" - rustup component add rust-src - set RUST_BACKTRACE=1 - - if not exist %USERPROFILE%\.cargo\bin\cargo-install-update.exe cargo install cargo-update + - if not exist %USERPROFILE%\.cargo\bin\cargo-update-installed.exe cargo install cargo-update-installed - if not exist %USERPROFILE%\.cargo\bin\cargo-xbuild.exe cargo install cargo-xbuild - if not exist %USERPROFILE%\.cargo\bin\bootimage.exe cargo install bootimage - - cargo install-update -a + - cargo update-installed # Uses 'cargo test' to run tests and build. Alternatively, the project may call compiled programs # directly or perform other testing commands. Rust will automatically be placed in the PATH diff --git a/.travis.yml b/.travis.yml index 2f45b772..5311bba5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -36,10 +36,10 @@ install: before_script: - rustup component add rust-src - - (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update) + - (test -x $HOME/.cargo/bin/cargo-update-installed || cargo install cargo-update-installed) - (test -x $HOME/.cargo/bin/cargo-xbuild || cargo install cargo-xbuild) - (test -x $HOME/.cargo/bin/bootimage || cargo install bootimage) - - cargo install-update -a + - cargo update-installed script: - bootimage build