Browse Source

Merge pull request #18 from dbrgn/ci-cargo-audit

CI: Add cargo-audit step
pull/19/head
Rodolphe Bréard 5 years ago
committed by GitHub
parent
commit
ca8ec5b566
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      .travis.yml

15
.travis.yml

@ -15,4 +15,19 @@ rust:
matrix: matrix:
allow_failure: allow_failure:
- rust: "nightly" - rust: "nightly"
include:
- name: Run cargo audit
rust: stable
env: TASK=audit
fast_finish: true fast_finish: true
install:
- cargo build --verbose
- if [ "$TASK" = "audit" ]; then cargo install cargo-audit; fi
script:
- if [ "$TASK" = "audit" ]; then
cargo audit;
else
cargo test --verbose;
fi
Loading…
Cancel
Save