Sha256: 6128480d82b2fc35c06d7ae769d01792e410f7680a5b3e816a42ca54a4dbb6f6

Contents?: true

Size: 1.42 KB

Versions: 2

Compression:

Stored size: 1.42 KB

Contents

#!/bin/bash
set -x

if [[ $TRAVIS_OS_NAME != 'linux' ]]; then
  brew update > brew-update.log 2>&1
  # fix an issue with libtool on travis by reinstalling it
  brew uninstall libtool;
  brew install libtool dejagnu;
else
  sudo apt-get clean # clear the cache
  sudo apt-get update
  case $HOST in
      aarch64-linux-gnu | powerpc64le-unknown-linux-gnu | mips64el-linux-gnu | sparc64-linux-gnu)
          ;;	  
      alpha-linux-gnu | arm32v7-linux-gnu | m68k-linux-gnu | sh4-linux-gnu | s390x-linux-gnu )
	  sudo apt-get install qemu-user-static
	  ;;
      hppa-linux-gnu )
	  sudo apt-get install -y qemu-user-static g++-5-hppa-linux-gnu
	  ;;
      i386-pc-linux-gnu)
	  sudo apt-get install gcc-multilib g++-multilib;
	  ;;
      moxie-elf)
	  echo 'deb https://repos.moxielogic.org:7114/MoxieLogic moxiedev main' | sudo tee -a /etc/apt/sources.list
	  sudo apt-get clean # clear the cache
	  sudo apt-get update ## -qq
	  sudo apt-get update
	  sudo apt-get install -y --allow-unauthenticated moxielogic-moxie-elf-gcc moxielogic-moxie-elf-gcc-c++ moxielogic-moxie-elf-gcc-libstdc++ moxielogic-moxie-elf-gdb-sim
	  ;;
      i686-w64-mingw32)
	  sudo apt-get install gcc-mingw-w64-i686 binutils-mingw-w64-i686 wine;
	  ;;
  esac
  case $HOST in
      arm32v7-linux-gnu | aarch64-linux-gnu | ppc64le-linux-gnu | s390x-linux-gnu)
          # don't install host tools
          ;;
      *)
	  sudo apt-get install dejagnu texinfo sharutils
	  ;;
  esac
fi

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ffi-1.11.3 ext/ffi_c/libffi/.travis/install.sh
ffi-1.11.2 ext/ffi_c/libffi/.travis/install.sh