mirror of
https://gitee.com/openharmony/third_party_rust_serde
synced 2024-11-27 09:01:43 +00:00
Work around clippy redundant_field_names bug
This commit is contained in:
parent
0c4ffad9ec
commit
29be721f79
12
.travis.yml
12
.travis.yml
@ -71,17 +71,19 @@ matrix:
|
||||
- rustup default "$CLIPPY_NIGHTLY"
|
||||
- rustup component add clippy
|
||||
script:
|
||||
- cargo clippy -- -D clippy::all
|
||||
# The need for -Aredundant_field_names here is a Clippy bug.
|
||||
# https://github.com/rust-lang/rust-clippy/issues/5356
|
||||
- cargo clippy -- -D clippy::all -A clippy::redundant_field_names
|
||||
- cd "${TRAVIS_BUILD_DIR}/serde"
|
||||
- cargo clippy --features rc,unstable -- -D clippy::all
|
||||
- cargo clippy --features rc,unstable -- -D clippy::all -A clippy::redundant_field_names
|
||||
- cd "${TRAVIS_BUILD_DIR}/serde_derive"
|
||||
- cargo clippy -- -D clippy::all
|
||||
- cd "${TRAVIS_BUILD_DIR}/serde_test"
|
||||
- cargo clippy -- -D clippy::all
|
||||
- cargo clippy -- -D clippy::all -A clippy::redundant_field_names
|
||||
- cd "${TRAVIS_BUILD_DIR}/test_suite"
|
||||
- cargo clippy --tests --features unstable -- -D clippy::all
|
||||
- cargo clippy --tests --features unstable -- -D clippy::all -A clippy::redundant_field_names
|
||||
- cd "${TRAVIS_BUILD_DIR}/test_suite/no_std"
|
||||
- cargo clippy -- -D clippy::all
|
||||
- cargo clippy -- -D clippy::all -A clippy::redundant_field_names
|
||||
|
||||
- rust: nightly
|
||||
name: Emscripten
|
||||
|
Loading…
Reference in New Issue
Block a user