mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 06:39:17 +00:00
46e4a11a88
Travis CI will terminate builds if the log output exceeds around 4MB of text output. With verbose build enabled, this causes the builds to terminate. We could try avoiding this by redirecting standard output from make to /dev/null ... However, the build will then fail due to lack of output in some cases. The limit for that seems to be around 10 minutes of build time with other projects adding a background loop to provide output at 9 minute intervals to avoid this.
93 lines
1.6 KiB
YAML
93 lines
1.6 KiB
YAML
language:
|
|
- cpp
|
|
|
|
sudo: required
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- g++ make
|
|
- ccache
|
|
- libsdl2-dev
|
|
- libsdl2-net-dev
|
|
- libcurl4-openssl-dev
|
|
- libjpeg-turbo8-dev
|
|
- 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
|
|
homebrew:
|
|
packages:
|
|
- ccache
|
|
- sdl2
|
|
- sdl2_net
|
|
- curl
|
|
- jpeg-turbo
|
|
- libmpeg2
|
|
- a52dec
|
|
- libogg
|
|
- libvorbis
|
|
- flac
|
|
- mad
|
|
- libpng
|
|
- theora
|
|
- faad2
|
|
- fluid-synth
|
|
- freetype
|
|
- zlib
|
|
- pandoc
|
|
- jack
|
|
update: true
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
compiler: gcc
|
|
cache: ccache
|
|
- os: linux
|
|
compiler: clang
|
|
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
|
|
cache:
|
|
directories:
|
|
- $HOME/Library/Caches/Homebrew
|
|
before_cache:
|
|
- brew cleanup
|
|
|
|
dist: xenial
|
|
|
|
script:
|
|
- ccache --show-stats > /tmp/ccache_before
|
|
- export PATH="/usr/local/opt/ccache/libexec:/usr/lib/ccache:$PATH"
|
|
- ./configure --enable-all-engines --enable-opl2lpt
|
|
- make -j 2
|
|
- 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
|