blob: 6fd673e575514922b2ddfb17d111ed51c1075120 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#!/bin/bash
set -x
if [[ $TRAVIS_OS_NAME != 'linux' ]]; then
brew update
# 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
arm32v7-linux-gnu | s390x-linux-gnu)
sudo apt-get install qemu-user-static
;;
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 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-s
;;
i686-w64-mingw32)
sudo apt-get install gcc-mingw-w64-i686 binutils-mingw-w64-i686 wine;
;;
esac
case $HOST in
arm32v7-linux-gnu | s390x-linux-gnu)
# don't install host tools
;;
*)
sudo apt-get install dejagnu texinfo sharutils
;;
esac
fi
|