Run cargo-audit on CI.

This commit is contained in:
Jimmy Cuadra 2019-07-23 09:47:17 -07:00
parent 11493dede4
commit fd8367be4c

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"