mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-31 01:24:31 +02:00
Update travis to check clippy
This commit is contained in:
parent
37b1d93d05
commit
f45b2d5711
@ -23,8 +23,11 @@ before_install:
|
|||||||
elif [[ $TRAVIS_OS_NAME == "osx" ]]; then
|
elif [[ $TRAVIS_OS_NAME == "osx" ]]; then
|
||||||
export TARGET=x86_64-apple-darwin;
|
export TARGET=x86_64-apple-darwin;
|
||||||
fi
|
fi
|
||||||
before_script: rustup target add $TARGET
|
before_script:
|
||||||
|
- rustup target add $TARGET
|
||||||
|
- rustup component add clippy
|
||||||
script:
|
script:
|
||||||
|
- cargo clippy -- -D warnings
|
||||||
- cargo build --verbose --target $TARGET
|
- cargo build --verbose --target $TARGET
|
||||||
- cargo test --verbose --target $TARGET
|
- cargo test --verbose --target $TARGET
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user