From 11c95fbf0936fe7fd3ffe3282b28fdca5480ff4f Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Fri, 28 Sep 2018 11:21:08 +0300 Subject: [PATCH] Check formatting on Travis --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 07d0456..5702eee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,11 @@ rust: cache: cargo +before_script: + - rustup component add rustfmt-preview + script: + - cargo fmt --all -- --check - cargo check --all - cargo build --all - cargo test --all