File tree 2 files changed +5
-12
lines changed 2 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -77,10 +77,8 @@ matrix:
77
77
- name : rustfmt/clippy/rustup-init.sh/shellcheck
78
78
language : minimal
79
79
install :
80
- - |
81
- sh ./rustup-init.sh --default-toolchain=beta -y;
82
- . "$HOME"/.cargo/env;
83
- rustup component add rustfmt clippy;
80
+ - sh ./rustup-init.sh --default-toolchain=beta --profile=minimal -y -c rustfmt -c clippy
81
+ - export PATH="$HOME/.cargo/bin:$PATH"
84
82
script :
85
83
- |
86
84
docker run \
@@ -106,13 +104,8 @@ matrix:
106
104
if : branch == disabled-for-now
107
105
108
106
install :
109
- - sh rustup-init.sh --default-toolchain=stable -y
110
- - |
111
- if [ -r "$HOME/.cargo/env" ]; then
112
- . "$HOME"/.cargo/env;
113
- else
114
- export PATH="$HOME/.cargo/bin:$PATH";
115
- fi
107
+ - sh ./rustup-init.sh --default-toolchain=stable --profile=minimal -y
108
+ - export PATH="$HOME/.cargo/bin:$PATH"
116
109
- if [ -z "$NO_ADD" ]; then rustup target add "$TARGET"; fi
117
110
118
111
script :
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ install:
60
60
61
61
# Install rust, x86_64-pc-windows-msvc host
62
62
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
63
- - rustup-init.exe -y --default-host=x86_64-pc-windows-msvc
63
+ - rustup-init.exe -y --default-host=x86_64-pc-windows-msvc --profile=minimal
64
64
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
65
65
- del rustup-init.exe
66
66
You can’t perform that action at this time.
0 commit comments