Update travis to test linux 32/64 and osx with a mix of gcc and clang
[libffi.git] / .travis / install.sh
1 #!/bin/bash
2
3 if [[ $TRAVIS_OS_NAME != 'linux' ]]; then
4 brew update
5 # fix an issue with libtool on travis by reinstalling it
6 brew uninstall libtool;
7 brew install libtool dejagnu;
8 else
9 sudo apt-get update
10 sudo apt-get install dejagnu texinfo
11 if [ "$HOST" = i386-pc-linux-gnu ] ; then
12 sudo apt-get install gcc-multilib g++-multilib;
13 fi
14 fi