Home | History | Annotate | Line # | Download | only in linux
      1 #!/bin/bash
      2 
      3 set -ev
      4 
      5 if [[ "$TRAVIS_OS_NAME" != "linux" ]]; then
      6     echo "Incorrect \$TRAVIS_OS_NAME: expected linux, got $TRAVIS_OS_NAME"
      7     exit 1
      8 fi
      9 
     10 if [[ "$CROSS_COMPILE_32BIT" == "yes" ]]; then
     11     sudo apt-get update
     12     sudo apt-get -y install gcc-multilib g++-multilib
     13 fi
     14