From 1387ac557161b708f576ffd2cf87e206d061088e Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Tue, 22 Oct 2019 17:01:22 +0300 Subject: [PATCH] ci: Add cargo audit to the travis pipeline cargo audit audits Cargo.lock for crates with security vulnerabvilities reported by the RustSec Advisory Database. Signed-off-by: Samuel Ortiz --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index dfd6a3d8d..9451eda35 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ rust: before_script: - rustup component add clippy - rustup component add rustfmt + - cargo install --force cargo-audit script: - cargo rustc --bin cloud-hypervisor -- -D warnings @@ -19,6 +20,7 @@ script: - cargo test - cargo clippy --all-targets --all-features -- -D warnings - find . -name "*.rs" | xargs rustfmt --check + - cargo audit deploy: provider: releases