Skip to content

Commit bf749e6

Browse files
committed
Auto merge of #1262 - gnzlbg:rustfmt_fail, r=gnzlbg
Allow installing rustfmt component to fail
2 parents 9a9e2e0 + ab54184 commit bf749e6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,14 @@ matrix:
2323
- shellcheck ci/*.sh
2424
stage: tools-and-build-and-tier1
2525
- name: "Style"
26-
install: rustup component add rustfmt-preview
26+
install: true
2727
script:
2828
- rustc ci/style.rs && ./style src
2929
# Disabled due to rust-lang/rustfmt#3341
30-
# - cargo fmt --all -- --check
30+
#- |
31+
# if rustup component add rustfmt-preview ; then
32+
# cargo fmt --all -- --check
33+
# fi
3134
stage: tools-and-build-and-tier1
3235

3336
# BUILD stable, beta, nightly

0 commit comments

Comments
 (0)