Run cargo-audit on CI.

This commit is contained in:
Jimmy Cuadra 2019-07-23 09:59:38 -07:00
parent 77e5976ba6
commit 29a8fa38a9

View File

@ -1,8 +1,12 @@
language: "rust"
cache: "cargo"
before_script:
- "rustup component add rustfmt"
- "rustup component add clippy"
- "cargo install --force cargo-audit"
- "cargo generate-lockfile"
script:
- "cargo audit"
- "cargo fmt --all -- --check"
- "cargo clippy --all-targets --all-features -- -D warnings"
- "cargo build --verbose"