|
@@ -2,12 +2,14 @@
|
|
|
|
|
|
set -euxo pipefail
|
|
|
|
|
|
-cargo check --target $TARGET
|
|
|
+if [ -n "${TARGET:-}" ]; then
|
|
|
+ cargo check --target $TARGET
|
|
|
|
|
|
-if [ $TRAVIS_RUST_VERSION = nightly ]; then
|
|
|
- cargo check --target $TARGET --features inline-asm
|
|
|
+ if [ $TRAVIS_RUST_VERSION = nightly ]; then
|
|
|
+ cargo check --target $TARGET --features inline-asm
|
|
|
+ fi
|
|
|
fi
|
|
|
|
|
|
-if [ $TARGET = x86_64-unknown-linux-gnu ]; then
|
|
|
+if [ -n "${CHECK_BLOBS:-}" ]; then
|
|
|
./check-blobs.sh
|
|
|
fi
|