From b47729baba3af4994a46e101c429e79023b347b2 Mon Sep 17 00:00:00 2001 From: Kartikaya Gupta Date: Tue, 28 May 2019 20:04:41 -0400 Subject: Run rustfmt and add it to travis checks --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 0f87fb7..36948bd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,5 +6,13 @@ rust: matrix: allow_failures: - rust: nightly + include: + - stage: lint + name: "Rust: rustfmt" + rust: stable + install: + - rustup component add rustfmt + script: + - cargo fmt -v -- --check notifications: email: false -- cgit v1.2.3