mirror of
https://github.com/libretro/mgba.git
synced 2024-11-28 02:30:21 +00:00
ff0de9cae2
* .travis.yml: Use an explicitly defined build matrix. * Attempt to use GCC on Mac. * Add gcc4.8 to Travis deps. * Remove gcc set from .travis.yml. * .travis-deps: Install and set compiler to GCC only if we need it. * Formatting * Remove redundancy * .travis.yml: source the deps script.
18 lines
498 B
Bash
Executable File
18 lines
498 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@4.9
|
|
export CC=gcc-4.9
|
|
export CXX=g++-4.9
|
|
fi
|
|
else
|
|
sudo apt-get clean
|
|
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
|
|
fi
|