mgba/.travis.yml
2015-09-21 00:28:09 -07:00

23 lines
555 B
YAML

os:
- linux
- osx
language: c
compiler:
- gcc
- clang
before_install:
- 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