From 0d4c376808ee3a197c65cdb37fe31340d35a3466 Mon Sep 17 00:00:00 2001 From: Marc Brinkmann Date: Tue, 16 Oct 2018 12:20:03 +0200 Subject: [PATCH] Add `cargo audit` to CI. --- .travis.yml | 1 + ci.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index dbb5723..f042a75 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,4 +11,5 @@ addons: before_install: - rustup component add --toolchain=${TRAVIS_RUST_VERSION} rustfmt-preview clippy-preview - cargo deadlinks --version || cargo install cargo-deadlinks + - cargo audit --version || cargo install cargo-audit script: ./ci.sh diff --git a/ci.sh b/ci.sh index e66031f..23ee244 100755 --- a/ci.sh +++ b/ci.sh @@ -14,3 +14,4 @@ cargo test --release cargo test --all-features --release cargo doc cargo deadlinks --dir target/doc/threshold_crypto/ +cargo audit