.travis-deps.sh (view raw)
1#!/bin/sh
2if [ $TRAVIS_OS_NAME = "osx" ]; then
3 brew update
4 brew install qt5 ffmpeg imagemagick sdl2 libzip libpng
5 if [ "$CC" == "gcc" ]; then
6 brew install gcc@4.9
7 export CC=gcc-4.9
8 export CXX=g++-4.9
9 fi
10else
11 sudo apt-get clean
12 sudo apt-get update
13 sudo apt-get install -y -q cmake libedit-dev libmagickwand-dev \
14 libpng-dev libsdl2-dev libzip-dev qtbase5-dev \
15 libqt5opengl5-dev qtmultimedia5-dev libavcodec-dev \
16 libavutil-dev libavformat-dev libavresample-dev libswscale-dev
17fi