shithub: choc

ref: 59f737ad1b32fafb6f21edcaa4dd79c3444a880a
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

env:
    - ANALYZE=false
    - ANALYZE=true

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

script: ./.travis.sh

branches:
    only:
    - master