scummvm/.travis.yml

94 lines
1.7 KiB
YAML
Raw Normal View History

2015-07-27 11:03:47 +00:00
language:
- cpp
sudo: required
2015-07-27 11:03:47 +00:00
addons:
apt:
packages:
- g++ make
2019-11-19 21:34:33 +00:00
- ccache
- libsdl2-dev
- libsdl2-net-dev
- libcurl4-openssl-dev
- libjpeg-turbo8-dev
2015-07-27 11:03:47 +00:00
- libmpeg2-4-dev
- libogg-dev
- libvorbis-dev
- libflac-dev
- libmad0-dev
- libpng-dev
- libtheora-dev
- libfaad-dev
- libfluidsynth-dev
- libfreetype6-dev
- zlib1g-dev
- libieee1284-3-dev
- libsndio-dev
- libunity-dev
2019-05-18 13:38:30 +00:00
homebrew:
packages:
2019-11-19 21:34:33 +00:00
- ccache
2019-05-18 13:38:30 +00:00
- sdl2
- sdl2_net
- curl
2019-05-18 13:38:30 +00:00
- jpeg-turbo
- libmpeg2
- a52dec
- libogg
- libvorbis
- flac
- mad
- libpng
- theora
- faad2
- fluid-synth
- freetype
- zlib
- pandoc
2019-06-18 23:20:35 +00:00
- jack
2019-06-18 18:48:19 +00:00
update: true
2015-07-27 11:03:47 +00:00
branches:
only:
- master
matrix:
include:
- os: linux
compiler: gcc
2019-11-19 21:34:33 +00:00
cache: ccache
- os: linux
compiler: clang
2019-11-19 21:34:33 +00:00
cache: ccache
before_script:
- sudo ln -s $(which ccache) /usr/lib/ccache/clang
- sudo ln -s $(which ccache) /usr/lib/ccache/clang++
- os: osx
compiler: clang
2019-12-19 12:23:23 +00:00
cache:
directories:
- $HOME/Library/Caches/Homebrew
2019-12-19 12:23:23 +00:00
ccache: true
before_cache:
- brew cleanup
2015-07-27 11:03:47 +00:00
dist: xenial
2015-07-27 11:03:47 +00:00
script:
- ccache --show-stats > /tmp/ccache_before
2019-11-19 21:34:33 +00:00
- export PATH="/usr/local/opt/ccache/libexec:/usr/lib/ccache:$PATH"
- ./configure --enable-all-engines --enable-opl2lpt
- make -j 2
2015-07-27 11:03:47 +00:00
- make test
- make devtools
- ccache --show-stats > /tmp/ccache_after
- diff -U999 /tmp/ccache_before /tmp/ccache_after || true
notifications:
irc:
channels:
- "chat.freenode.net#scummvm"
on_success: change
on_failure: always