cargo fmt/clippy all the things + make them mandatory in CI

This commit is contained in:
Henrik Friedrichsen
2019-04-03 14:13:40 +02:00
parent 25fbdb8bde
commit 1c26c7bcee
9 changed files with 86 additions and 82 deletions

View File

@@ -6,3 +6,8 @@ matrix:
fast_finish: true
before_install:
- sudo apt-get install -y libasound2-dev libdbus-1-dev
script:
- cargo update
- rustup component add clippy rustfmt
- cargo clippy --all-targets -- -D warnings
- cargo fmt --all -- --check