mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-12 10:51:02 +00:00
No error if clippy install fails
This commit is contained in:
@@ -17,9 +17,10 @@ channel() {
|
||||
}
|
||||
|
||||
if [ -n "${CLIPPY}" ]; then
|
||||
if [ -n "${TRAVIS}" ]; then
|
||||
# cached installation will not work on a later nightly
|
||||
cargo install clippy --debug --force
|
||||
# cached installation will not work on a later nightly
|
||||
if [ -n "${TRAVIS}" ] && ! cargo install clippy --debug --force; then
|
||||
echo "COULD NOT COMPILE CLIPPY, IGNORING CLIPPY TESTS"
|
||||
exit
|
||||
fi
|
||||
|
||||
cd "$DIR/serde"
|
||||
|
||||
Reference in New Issue
Block a user