before_install.sh 284 B

1234567891011121314
  1. #!/bin/bash
  2. set -ev
  3. if [[ "$TRAVIS_OS_NAME" != "linux" ]]; then
  4. echo "Incorrect \$TRAVIS_OS_NAME: expected linux, got $TRAVIS_OS_NAME"
  5. exit 1
  6. fi
  7. if [[ "$CROSS_COMPILE_32BIT" == "yes" ]]; then
  8. sudo apt-get update
  9. sudo apt-get -y install gcc-multilib g++-multilib
  10. fi