summaryrefslogtreecommitdiffstatshomepage
path: root/.travis.yml
diff options
context:
space:
mode:
authorGravatarGravatar balr0g <balrog032@gmail.com>2015-09-18 13:15:07 -0400
committerGravatarGravatar balr0g <balrog032@gmail.com>2015-09-18 13:15:07 -0400
commitbc83da75301466ced651e6adf46f910916bb7006 (patch)
tree24c6a73dd083a287664cdaa8bc428879716cac85 /.travis.yml
parent9d78d37074d970e17f1a165759d5627ee548ddc0 (diff)
More Travis OSX changes
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index c09810a005e..7bf8d6bd93d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,14 +5,21 @@ compiler:
os:
- linux
- osx
+matrix:
+ exclude:
+ - os: osx
+ compiler: gcc
env:
- SUBTARGET=arcade MAME=mamearcade64 LDOPTS="-Wl,-no-keep-memory"
- SUBTARGET=mess MAME=mess64
script:
- - if [ $CC == 'clang' ];
+ - if [ $TRAVIS_OS_NAME == 'linux' ] && [ $CC == 'clang' ];
then make -j2 linux_x64_clang && ./$MAME -validate;
else make -j2 OPTIMIZE=0 && ./$MAME -validate;
fi
+ - if [ $TRAVIS_OS_NAME == 'osx' ];
+ then make -j2 OPTIMIZE=0 MACOSX_USE_LIBSDL=1 && ./$MAME -validate;
+ fi
sudo: required
before_install:
- "if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ]; then sudo add-apt-repository ppa:zoogie/sdl2-snapshots -y; fi"