Add clippy to CI.

This commit is contained in:
Jimmy Cuadra 2019-06-02 13:12:34 -07:00
parent 8699dc7708
commit 8e38761ad5

View File

@ -1,8 +1,10 @@
language: "rust"
before_script:
- "rustup component add rustfmt"
- "rustup component add clippy"
script:
- "cargo fmt --all -- --check"
- "cargo clippy -- -D warnings"
- "cargo build --verbose"
- "cargo test --verbose"
notifications: