Skip to content

Commit

Permalink
skip lint&git check on aarch64 according to comment
Browse files Browse the repository at this point in the history
Signed-off-by: glorv <glorvs@163.com>
  • Loading branch information
glorv committed Mar 5, 2020
1 parent 51d0433 commit 73989ac
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,7 @@ script:
fi
# clang-tidy-7 is not available on aarch64, so just skip lint
- if [[ $TRAVIS_OS_NAME == "linux" ]] && [[ `uname -p` != "aarch64" ]]; then
scripts/lint-grpc-sys.sh;
fi
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then
git diff-index --quiet HEAD;
scripts/lint-grpc-sys.sh && git diff-index --quiet HEAD;
fi
- if [[ $TRAVIS_RUST_VERSION == "stable" ]]; then rustup component add clippy && cargo clippy --all -- -D clippy::all && cargo clippy --all --no-default-features --features prost-codec -- -D clippy::all; fi
- cargo build --no-default-features
Expand Down

0 comments on commit 73989ac

Please sign in to comment.