Speed up Travis tests by splitting cargo audit into its own task
@@ -22,10 +22,15 @@ matrix:
allow_failures:
- rust: nightly
fast_finish: true
+ include:
+ - name: "cargo audit"
+ rust: stable
install:
- - rustup component add rustfmt
- cargo install --force cargo-audit
script:
- - cargo fmt -- --check
- cargo audit
+install:
+ - rustup component add rustfmt
+script:
+ - cargo fmt -- --check
- cargo test
