shithub: choc

ref: c5af517b3b1a80bb00f477008308cd2472f228cb
dir: /.travis.yml/

View raw version
language: c

compiler: gcc

# Travis uses Ubuntu 12.04 (Precise) for builds by default, which is too
# old and missing the SDL2 packages, so use Trusty instead.
sudo: required
dist: trusty

addons:
    apt:
        packages:
        - libsdl2-dev
        - libsdl2-mixer-dev
        - libsdl2-net-dev
        - libsdl2-image-dev
        - libsamplerate0-dev

script: ./autogen.sh && make && make install DESTDIR=/tmp/whatever && make dist

branches:
    only:
    - master
    - sdl2-branch