mgba/.travis-deps.sh
Vicki Pfau ef82480a8b Travis: Nuke the Linux clang build
trusty + clang + C++14 is non-operational and Travis is so bad that they're
only concerned with whitelisting packages piecemeal instead of providing a
usable product, or a modern LTS like xenial
2017-07-23 14:51:35 -07:00

25 lines
717 B
Bash
Executable File

#!/bin/sh
if [ $TRAVIS_OS_NAME = "osx" ]; then
brew update
brew install qt5 ffmpeg imagemagick sdl2 libzip libpng
if [ "$CC" == "gcc" ]; then
brew install gcc@5
export CC=gcc-5
export CXX=g++-5
fi
else
sudo apt-get clean
sudo add-apt-repository -y ppa:george-edison55/cmake-3.x
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install -y -q cmake libedit-dev libmagickwand-dev \
libpng-dev libsdl2-dev libzip-dev qtbase5-dev \
libqt5opengl5-dev qtmultimedia5-dev libavcodec-dev \
libavutil-dev libavformat-dev libavresample-dev libswscale-dev
if [ "$CC" == "gcc" ]; then
sudo apt-get install -y -q gcc-5 g++-5
export CC=gcc-5
export CXX=g++-5
fi
fi