before_install.bash
This file
Path
ci/before_install.bash
26 lines · 551 bytes · Shell
Last changed by
Not known.
History of this fileTake it
123456789101112131415161718192021222324252627#!/usr/bin/env bash
set -ex
if [ "$TRAVIS_OS_NAME" != linux ]; then exit 0fi
sudo apt-get update
# needed to build deb packagessudo apt-get install -y fakeroot
# needed for i686 linux gnu targetif [[ $TARGET == i686-unknown-linux-gnu ]]; then sudo apt-get install -y gcc-multilibfi
# needed for cross-compiling for armif [[ $TARGET == arm-unknown-linux-* ]]; then sudo apt-get install -y \ gcc-4.8-arm-linux-gnueabihf \ binutils-arm-linux-gnueabihf \ libc6-armhf-cross \ libc6-dev-armhf-crossfi