.travis-deps.sh (view raw)
1#!/bin/sh
2if [ $TRAVIS_OS_NAME = "osx" ]; then
3 brew update
4 brew install qt5 ffmpeg imagemagick sdl2 libedit libelf libpng libzip
5else
6 sudo apt-get clean
7 sudo add-apt-repository -y ppa:beineri/opt-qt542-trusty
8 sudo add-apt-repository -y ppa:george-edison55/cmake-3.x
9 sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
10 sudo apt-get update
11 sudo apt-get install -y -q cmake libedit-dev libelf-dev libmagickwand-dev \
12 libpng-dev libsdl2-dev libzip-dev qt54base qt54multimedia \
13 libavcodec-dev libavutil-dev libavformat-dev libavresample-dev \
14 libswscale-dev
15 if [ "$CC" == "gcc" ]; then
16 sudo apt-get install -y -q gcc-5 g++-5
17 export CC=gcc-5
18 export CXX=g++-5
19 fi
20fi