mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
Travis OS X testing
This commit is contained in:
parent
6b79dc2275
commit
9d78d37074
1 changed files with 9 additions and 4 deletions
13
.travis.yml
13
.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
|
||||
|
|
Loading…
Reference in a new issue