The 'sudo apt-get install' instructions on the travis-ci website don't work for containerized builds; instead we must specify packages to install using the apt addon.
25 lines
458 B
YAML
25 lines
458 B
YAML
language: c
|
|
|
|
compiler: gcc
|
|
|
|
# TODO: Remove old SDL library dependencies once sdl2-branch is merged.
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libsdl2-dev
|
|
- libsdl2-mixer-dev
|
|
- libsdl2-net-dev
|
|
- libsdl2-image-dev
|
|
- libsamplerate0-dev
|
|
- libsdl1.2-dev
|
|
- libsdl-mixer1.2-dev
|
|
- libsdl-net1.2-dev
|
|
- libpng-dev
|
|
|
|
script: ./autogen.sh && make
|
|
|
|
branches:
|
|
only:
|
|
master
|
|
sdl2-branch
|
|
|