2019-03-17 21:30:23 +08:00
|
|
|
#!/usr/bin/env bash
|
2018-08-11 23:58:32 +08:00
|
|
|
|
2019-03-17 21:30:23 +08:00
|
|
|
set -euxo pipefail
|
2018-08-11 23:58:32 +08:00
|
|
|
|
2019-03-17 21:45:28 +08:00
|
|
|
if [ -n "${TARGET:-}" ]; then
|
|
|
|
cargo check --target $TARGET
|
2018-12-23 18:37:47 +08:00
|
|
|
|
2019-03-17 21:45:28 +08:00
|
|
|
if [ $TRAVIS_RUST_VERSION = nightly ]; then
|
|
|
|
cargo check --target $TARGET --features inline-asm
|
|
|
|
fi
|
2019-03-17 21:30:23 +08:00
|
|
|
fi
|
2018-08-11 23:58:32 +08:00
|
|
|
|
2019-03-17 21:45:28 +08:00
|
|
|
if [ -n "${CHECK_BLOBS:-}" ]; then
|
2019-03-17 21:30:23 +08:00
|
|
|
./check-blobs.sh
|
|
|
|
fi
|