File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -129,16 +129,19 @@ matrix:
129
129
- name : " rustfmt"
130
130
install : true
131
131
rust : nightly
132
- before_script : rustup component add rustfmt-preview
133
- script : cargo fmt --all -- --check
132
+ script : |
133
+ if rustup component add rustfmt-preview ; then
134
+ cargo fmt --all -- --check
135
+ fi
134
136
- name : " clippy"
135
137
install : true
136
138
rust : nightly
137
139
# allow(clippy::all) fails in the syscrate, so we can't use --all here:
138
140
script : |
139
- if rustup component add clippy-preview; then
141
+ if rustup component add clippy-preview ; then
140
142
cargo clippy -p jemalloc-sys -- -D clippy::pedantic
141
143
cargo clippy -p jemallocator -- -D clippy::pedantic
144
+ cargo clippy -p jemallocator-global -- -D clippy::pedantic
142
145
cargo clippy -p jemalloc-ctl -- -D clippy::pedantic
143
146
fi
144
147
- name : " Shellcheck"
You can’t perform that action at this time.
0 commit comments