lint #3

Merged
gburd merged 2 commits from gburd/learning-by-linting into master 2020-01-31 18:59:39 +00:00
Showing only changes of commit 6b7343a893 - Show all commits

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