From b7770f1f72bfb89d11521d3b15e1c98fbd0f5e73 Mon Sep 17 00:00:00 2001 From: gnzlbg Date: Fri, 28 Jun 2019 15:27:03 +0200 Subject: [PATCH] Re-enable rustfmt on CI --- .travis.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index ea5e0ac593187..baeb965244bae 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,11 +29,10 @@ matrix: install: true script: - rustc ci/style.rs && ./style src - # Disabled due to rust-lang/rustfmt#3341 - #- | - # if rustup component add rustfmt-preview ; then - # cargo fmt --all -- --check - # fi + - | + if rustup component add rustfmt-preview ; then + cargo fmt --all -- --check + fi stage: tools-and-build-and-tier1 - name: "Semver Linux" install: travis_retry cargo +nightly install semverver