From bd79ffdbc65be6de3bbe930e58d2c4f85d890aa2 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 6 Nov 2018 09:07:37 +0100 Subject: [PATCH] added cargo fmt to travis --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c1cc455..91f34dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -95,11 +95,13 @@ install: - rustup override set nightly - rustup target add thumbv7m-none-eabi - rustup component add clippy-preview + - rustup component add rustfmt-preview #TODO: remove -A clippy::new_ret_no_self when new version of clippy gets released! script: - - cargo check + - cargo fmt --all -- --check - cargo clippy --all-targets --all-features -- -D warnings -A clippy::new_ret_no_self + - cargo check - cargo test --all-features --release - cargo doc --all-features --release - cd examples/embedded_linux_epd4in2 && cargo check && cd ../../