mame/.travis.yml

47 lines
2.2 KiB
YAML
Raw Normal View History

2015-07-10 16:41:08 +02:00
language: cpp
2015-12-03 13:06:21 +01:00
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- gcc-5
2015-07-10 18:41:35 +02:00
compiler:
- gcc
- clang
2015-09-18 18:46:29 +02:00
os:
- linux
- osx
2015-09-18 19:15:07 +02:00
matrix:
exclude:
- os: osx
compiler: gcc
2015-12-11 06:13:37 +01:00
- os: linux
2015-12-11 06:12:09 +01:00
compiler: clang
2015-07-10 16:41:08 +02:00
env:
2016-05-27 18:19:21 +02:00
- SUBTARGET=tiny MAME=mametiny64
2015-07-10 18:41:35 +02:00
script:
2015-09-18 19:24:54 +02:00
- if [ $TRAVIS_OS_NAME == 'linux' ]; then
if [ $CC == 'clang' ]; then
2015-12-07 13:35:40 +01:00
make -j2 OVERRIDE_CXX="clang++-3.6" OVERRIDE_CC="clang-3.6" && ./$MAME -validate;
else make -j4 OPTIMIZE=0 OVERRIDE_CC="gcc-5" OVERRIDE_CXX="g++-5" && ./$MAME -validate;
2015-07-10 18:41:35 +02:00
fi
2015-09-18 19:24:54 +02:00
elif [ $TRAVIS_OS_NAME == 'osx' ]; then
2015-09-18 20:14:59 +02:00
unset LDOPTS && make -j2 OPTIMIZE=0 MACOSX_USE_LIBSDL=1 && ./$MAME -validate;
2015-09-18 19:15:07 +02:00
fi
2015-07-10 16:41:08 +02:00
sudo: required
before_install:
2015-09-18 18:46:29 +02:00
- "if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ]; then sudo add-apt-repository ppa:zoogie/sdl2-snapshots -y; fi"
2016-05-27 19:21:27 +02:00
- "if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ]; then sudo add-apt-repository ppa:beineri/opt-qt551 -y; fi"
2015-09-18 18:46:29 +02:00
- "if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ]; then sudo apt-get update -qq; fi"
2016-05-27 19:15:08 +02:00
- "if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ]; then sudo apt-get install -y --force-yes libsdl2-dev libsdl2-ttf-dev libasound2-dev qt55base qt55quickcontrols qt55declarative qt55tools qt55svg; fi"
- "if [ ${TRAVIS_OS_NAME:-'linux'} = 'linux' ]; then source /opt/qt55/bin/qt55-env.sh; fi"
2015-09-18 18:46:29 +02:00
- "if [ ${TRAVIS_OS_NAME:-'linux'} = 'osx' ]; then brew update; fi"
- "if [ ${TRAVIS_OS_NAME:-'linux'} = 'osx' ]; then brew install sdl2 sdl2_ttf; fi"
2015-09-17 13:32:59 +02:00
branches:
only:
- master
2015-07-21 16:40:49 +02:00
notifications:
email:
- secure: "sK8JJcn1A0yLnbDJ/7vmJgESuXmP6D4QlvQvsYLp1xAx5eTVSJ5Z+GSXLBJ9CnoeJ5AlPVPX4rXdRV93UyxYlTh1O97x8VZZQtYBNPRjk/VCflsOOg7C+jcJKX/knMu/QG2MVEDE5G2b8mHSAgWljG/7Z2N0rYZlWppwklYafOkyW4uE0E7PU5XpmKim4ra6Y1eDSbap+XJiDwgUm9moDZrgAv7eom9NIWGNMRIozSRyR2IkYimlWE92FOy5PzLJtFGK02iumbYN+39mTux59v/h/m6HD6cD7Wf10Lco9+Fnmi9Bs+VvIReJIP9pDABRvJ3MkUV4I9BjUT9xk48lzxqjGtdfUwOMDOTABd4Pb/5cmNtyNUQIosy5oiplR6USBnqD7/gmJw+mfn3A+jdQHGne+akypwzUjSM6XrezjTiZLlDDG+QpA0kwAnxSXw8H2SpVyynMSn4nu0iZmOiOZMtFY0jKlt/W7OFC5wTuJFrky+bBGlVIv3KGOTJNJNgasXV4u0NXOjHyeBFpFYCIf0FZLfYyf7ITu94JxUzXGcVi5D0lBwvKY9HfJ4yJxciyfH6V7yU1+o23E/Meqe/tjt6dTW8DM5xIokrnusfzE5b0zw5GFyg54nbpazXpcPnrMdxhp+t2C7xKrxcZXhBECRYegj+Z86D9BJP/yum1YrQ="