File tree 3 files changed +7
-8
lines changed
3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 12
12
directories :
13
13
- $HOME/.cargo
14
14
before_cache :
15
- - cargo install -Z install-upgrade cargo-cache --debug
15
+ - cargo install cargo-cache --debug
16
16
- find $HOME/.cargo/bin/ ! -type d -exec strip {} \;
17
17
- cargo cache --autoclean
18
18
@@ -28,7 +28,7 @@ install:
28
28
- |
29
29
if [[ -z ${INTEGRATION} ]]; then
30
30
if ! rustup component add rustfmt; then
31
- cargo install -Z install-upgrade - -git https://github.com/rust-lang/rustfmt --bin rustfmt
31
+ cargo install --git https://github.com/rust-lang/rustfmt --bin rustfmt
32
32
fi
33
33
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
34
34
. $HOME/.nvm/nvm.sh
Original file line number Diff line number Diff line change 18
18
- ' %USERPROFILE%\.cargo'
19
19
# before cache
20
20
after_test :
21
- - cargo install -Z install-upgrade cargo-cache --debug
21
+ - cargo install cargo-cache --debug
22
22
- cargo cache --autoclean
23
23
24
24
install :
@@ -27,7 +27,7 @@ install:
27
27
- set PATH=%USERPROFILE%\.cargo\bin;%PATH%
28
28
- rustup component add rustfmt --toolchain nightly & exit 0 # Format test handles missing rustfmt
29
29
- del rust-toolchain
30
- - cargo install -Z install-upgrade rustup-toolchain-install-master
30
+ - cargo install rustup-toolchain-install-master
31
31
- rustup-toolchain-install-master -f -n master -c rustc-dev
32
32
- rustup override set master
33
33
- rustc -V
Original file line number Diff line number Diff line change 5
5
6
6
cd " $( dirname " $0 " ) "
7
7
8
- ERRNO=0
9
- RTIM_PATH=$( command -v rustup-toolchain-install-master) || ERRNO=$?
8
+ RTIM_PATH=$( command -v rustup-toolchain-install-master)
10
9
CARGO_HOME=${CARGO_HOME:- $HOME / .cargo}
11
10
12
11
# Check if people also install RTIM in other locations beside
13
12
# ~/.cargo/bin
14
- if [[ " $ERRNO " -ne 0 ]] || [[ " $ RTIM_PATH" == $CARGO_HOME /bin/rustup-toolchain-install-master ]]; then
15
- cargo install -Z install-upgrade rustup-toolchain-install-master
13
+ if [[ " $RTIM_PATH " == $CARGO_HOME /bin/rustup-toolchain-install-master ]]; then
14
+ cargo +nightly install rustup-toolchain-install-master
16
15
else
17
16
VERSION=$( rustup-toolchain-install-master -V | grep -o " [0-9.]*" )
18
17
REMOTE=$( cargo search rustup-toolchain-install-master | grep -o " [0-9.]*" )
You can’t perform that action at this time.
0 commit comments