all repos — mgba @ cf5bac466a4afbfc5b5923981db223a47d5b5745

mGBA Game Boy Advance Emulator

All: Attempt travis build for OS X
Jeffrey Pfau jeffrey@endrift.com
Mon, 21 Sep 2015 00:27:54 -0700
commit

cf5bac466a4afbfc5b5923981db223a47d5b5745

parent

2dbaf2edd62c5ca3e07d63f01731640b0f3c26ab

1 files changed, 14 insertions(+), 5 deletions(-)

jump to
M .travis.yml.travis.yml

@@ -1,13 +1,22 @@

+os: + - linux + - osx + language: c compiler: - gcc - clang before_install: - - sudo add-apt-repository ppa:smspillaz/cmake-2.8.12 -y - - sudo apt-add-repository ppa:zoogie/sdl2-snapshots -y - - sudo apt-get update -qq - - sudo apt-get purge cmake -qq - - sudo apt-get install -y -qq cmake libedit-dev libmagickwand-dev libpng-dev libsdl2-dev libzip-dev + - if [ $TRAVIS_OS_NAME -eq "osx"] + - then + - brew install qt5 ffmpeg imagemagick sdl2 libzip libpng + - else + - sudo add-apt-repository ppa:smspillaz/cmake-2.8.12 -y + - sudo add-apt-repository ppa:zoogie/sdl2-snapshots -y + - sudo apt-get update -qq + - sudo apt-get purge cmake -qq + - sudo apt-get install -y -qq cmake libedit-dev libmagickwand-dev libpng-dev libsdl2-dev libzip-dev + - fi script: mkdir build && cd build && cmake .. && make