No error if clippy install fails
This commit is contained in:
parent
48f4deac55
commit
34b39083bc
@ -13,9 +13,5 @@ matrix:
|
||||
include:
|
||||
- rust: nightly
|
||||
env: CLIPPY=true
|
||||
allow_failures:
|
||||
- rust: nightly
|
||||
env: CLIPPY=true
|
||||
fast_finish: true
|
||||
|
||||
script: ./travis.sh
|
||||
|
@ -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
|
||||
if [ -n "${TRAVIS}" ] && ! cargo install clippy --debug --force; then
|
||||
echo "COULD NOT COMPILE CLIPPY, IGNORING CLIPPY TESTS"
|
||||
exit
|
||||
fi
|
||||
|
||||
cd "$DIR/serde"
|
||||
|
Loading…
Reference in New Issue
Block a user