From 4f77f79912d706eebfe544f4eafd4c8ec23107e4 Mon Sep 17 00:00:00 2001 From: Sebastian Geisler Date: Sat, 11 Jan 2020 15:17:46 +0100 Subject: [PATCH] add automatic travis checks for formatting/clippy --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 11ff9939..9be4eab9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,14 @@ script: jobs: include: + - stage: best practices + rust: stable + install: + - rustup component add rustfmt + - rustup component add clippy + script: + - rustfmt --check + - cargo clippy -- -D warnings - stage: fuzz before_install: - sudo apt-get -qq update