Tweak CI/Travis config.

This commit is contained in:
Gregory Burd 2020-01-31 13:08:06 -05:00
parent 4f81c4e15b
commit 6b7343a893

View file

@ -1,7 +1,7 @@
language: rust language: rust
cache: cargo # cache cargo-audit once installed cache: cargo # cache cargo-audit once installed
before_script: before_script:
- cargo install --git https://github.com/rust-lang/rust-clippy/ --force clippy # - cargo install --force clippy
- cargo install --force cargo-audit - cargo install --force cargo-audit
- cargo generate-lockfile - cargo generate-lockfile
script: script:
@ -19,7 +19,6 @@ rust:
matrix: matrix:
allow_failures: allow_failures:
- rust: stable - rust: stable
- rust: beta
- rust: nightly - rust: nightly
fast_finish: true fast_finish: true
jobs: jobs:
@ -32,7 +31,7 @@ jobs:
script: ./scripts/cargo-doc.sh script: ./scripts/cargo-doc.sh
script: script:
- cargo build --verbose --all - cargo build --verbose --all
- cargo clippy --all-targets --all-features -- -D warnings # Check tests and non-default crate features. # - cargo clippy --all-targets --all-features -- -D warnings # Check tests and non-default crate features.
- cargo test --verbose --all - cargo test --verbose --all
- cargo test --features edn/serde_support --verbose --all - cargo test --features edn/serde_support --verbose --all
# We can't pick individual features out with `cargo test --all` (At the time of this writing, this # We can't pick individual features out with `cargo test --all` (At the time of this writing, this