Run cargo-audit on CI.

This commit is contained in:
Jimmy Cuadra 2019-07-24 22:45:53 -07:00
parent e7e4d04244
commit 7a68839562

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"