diff options
author | gnzlbg <gonzalobg88@gmail.com> | 2019-02-18 13:50:40 +0100 |
---|---|---|
committer | gnzlbg <gonzalobg88@gmail.com> | 2019-02-18 13:50:40 +0100 |
commit | ab54184c50a798749542a522cd5805fde707878c (patch) | |
tree | 812bb7cd031ff36a9d30f54787d35426e861a9dd /.travis.yml | |
parent | 9a9e2e05c9532557362e5b24b0622259851392fa (diff) | |
download | rust-libc-ab54184c50a798749542a522cd5805fde707878c.tar.gz |
Allow installing rustfmt component to fail
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 3547be0c7e..5a5bbebfa4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,11 +23,14 @@ matrix: - shellcheck ci/*.sh stage: tools-and-build-and-tier1 - name: "Style" - install: rustup component add rustfmt-preview + install: true script: - rustc ci/style.rs && ./style src # Disabled due to rust-lang/rustfmt#3341 - # - cargo fmt --all -- --check + #- | + # if rustup component add rustfmt-preview ; then + # cargo fmt --all -- --check + # fi stage: tools-and-build-and-tier1 # BUILD stable, beta, nightly |