wesnoth/utils/travis/install_deps.sh
Celtic Minstrel bc7c66d9f0 Travis: Wrap entire install script in travis_wait
Using travis_wait inside the install script doesn't
have the desired effect of increasing the timeout duration.
2016-11-11 20:07:58 -05:00

24 lines
762 B
Bash
Executable File

#!/bin/bash
if [ "$CXXSTD" == "1y" ]; then
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y;
fi
sudo apt-get update -qq
sudo apt-get install -qq libboost-filesystem-dev libboost-iostreams-dev libboost-random-dev libboost-program-options-dev libboost-regex-dev libboost-system-dev libboost-test-dev libboost-locale-dev libboost-thread-dev
sudo apt-get install -qq libcairo2-dev libfribidi-dev libpango1.0-dev
sudo apt-get install -qq libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev libvorbis-dev
sudo apt-get install gdb moreutils xvfb
if [ "$USE_CMAKE" = true ]; then
sudo apt-get install -qq cmake;
else
sudo apt-get install -qq scons;
fi
if [ "$CXXSTD" == "1y" ]; then
sudo apt-get install -qq g++-5;
export CXX=g++-5;
export CC=gcc-5;
fi