2018-08-11 23:58:32 +08:00
|
|
|
set -euxo pipefail
|
|
|
|
|
|
|
|
main() {
|
|
|
|
cargo check --target $TARGET
|
|
|
|
|
|
|
|
if [ $TRAVIS_RUST_VERSION = nightly ]; then
|
2018-12-22 17:32:52 +08:00
|
|
|
cargo check --target $TARGET --features 'const-fn inline-asm'
|
2018-08-11 23:58:32 +08:00
|
|
|
fi
|
2018-12-23 18:37:47 +08:00
|
|
|
|
|
|
|
if [ $TARGET = x86_64-unknown-linux-gnu ]; then
|
|
|
|
./check-blobs.sh
|
|
|
|
fi
|
2018-08-11 23:58:32 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
main
|