script.sh 312 B

12345678910111213141516
  1. #!/usr/bin/env bash
  2. set -euxo pipefail
  3. if [ -n "${TARGET:-}" ]; then
  4. cargo check --target $TARGET
  5. if [ $TRAVIS_RUST_VERSION = nightly ]; then
  6. cargo check --target $TARGET --features inline-asm
  7. fi
  8. fi
  9. if [ -n "${CHECK_BLOBS:-}" ]; then
  10. PATH="$PATH:$PWD/gcc/bin"
  11. ./check-blobs.sh
  12. fi