File tree Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Expand file tree Collapse file tree 3 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 1212  directories :
1313    - $HOME/.cargo 
1414before_cache :
15-   - cargo install -Z install-upgrade  cargo-cache --debug 
15+   - cargo install cargo-cache --debug 
1616  - find $HOME/.cargo/bin/ ! -type d -exec strip {} \; 
1717  - cargo cache --autoclean 
1818
@@ -28,7 +28,7 @@ install:
2828  - | 
2929    if [[ -z ${INTEGRATION} ]]; then 
3030      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 
3232      fi 
3333      if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then 
3434        . $HOME/.nvm/nvm.sh 
Original file line number Diff line number Diff line change 1818  - ' %USERPROFILE%\.cargo' 
1919#  before cache
2020after_test :
21-   - cargo install -Z install-upgrade  cargo-cache --debug 
21+   - cargo install cargo-cache --debug 
2222  - cargo cache --autoclean 
2323
2424install :
@@ -27,7 +27,7 @@ install:
2727  - set PATH=%USERPROFILE%\.cargo\bin;%PATH% 
2828  - rustup component add rustfmt --toolchain nightly & exit 0  #  Format test handles missing rustfmt
2929  - del rust-toolchain 
30-   - cargo install -Z install-upgrade  rustup-toolchain-install-master 
30+   - cargo install rustup-toolchain-install-master 
3131  - rustup-toolchain-install-master -f -n master -c rustc-dev 
3232  - rustup override set master 
3333  - rustc -V 
Original file line number Diff line number Diff line change 55
66cd  " $( dirname " $0 " ) " 
77
8- ERRNO=0
9- RTIM_PATH=$( command -v rustup-toolchain-install-master)   ||  ERRNO=$? 
8+ RTIM_PATH=$( command -v rustup-toolchain-install-master) 
109CARGO_HOME=${CARGO_HOME:- $HOME / .cargo} 
1110
1211#  Check if people also install RTIM in other locations beside
1312#  ~/.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
1615else 
1716    VERSION=$( rustup-toolchain-install-master -V |  grep -o " [0-9.]*" ) 
1817    REMOTE=$( cargo search rustup-toolchain-install-master |  grep -o " [0-9.]*" ) 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments