summaryrefslogtreecommitdiffstatshomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorGravatarGravatar balr0g <balrog032@gmail.com>2015-09-18 12:46:29 -0400
committerGravatarGravatar balr0g <balrog032@gmail.com>2015-09-18 12:46:29 -0400
commit9d78d37074d970e17f1a165759d5627ee548ddc0 (patch)
tree37f90efd50b74fc4e7f9df6541edfeae6abe340c /.travis.yml
parent6b79dc22758f631d837bc3e9f873f56ade6b0baf (diff)
Travis OS X testing
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml13
1 files changed, 9 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 8dd5b55a07b..c09810a005e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,6 +2,9 @@ language: cpp
compiler:
- gcc
- clang
+os:
+ - linux
+ - osx
env:
- SUBTARGET=arcade MAME=mamearcade64 LDOPTS="-Wl,-no-keep-memory"
- SUBTARGET=mess MAME=mess64
@@ -12,10 +15,12 @@ script:
fi
sudo: required
before_install:
- - sudo add-apt-repository ppa:zoogie/sdl2-snapshots -y
- - sudo add-apt-repository ppa:shahar-evron/qt-backports -y
- - sudo apt-get update -qq
- - sudo apt-get install -y --force-yes libsdl2-dev libsdl2-ttf-dev libasound2-dev libqt4-dev libqt4-dev-bin
+ - "if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ]; then sudo add-apt-repository ppa:zoogie/sdl2-snapshots -y; fi"
+ - "if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ]; then sudo add-apt-repository ppa:shahar-evron/qt-backports -y; fi"
+ - "if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ]; then sudo apt-get update -qq; fi"
+ - "if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ]; then sudo apt-get install -y --force-yes libsdl2-dev libsdl2-ttf-dev libasound2-dev libqt4-dev libqt4-dev-bin; fi"
+ - "if [ ${TRAVIS_OS_NAME:-'linux'} = 'osx' ]; then brew update; fi"
+ - "if [ ${TRAVIS_OS_NAME:-'linux'} = 'osx' ]; then brew install sdl2 sdl2_ttf; fi"
branches:
only:
- master