third_party_libsnd/.travis.yml
Erik de Castro Lopo 7f7fc24dc3 Fix 'make distcheck'
* tests/pedantic-header-test.sh.in:
  Commit 58737ceb48 started using "sfconfig.h" in the test files,
  which made this test script fail.

* .travis.yaml:
  Add `distcheck` that so PRs are checked.
2017-04-14 16:10:45 +10:00

44 lines
868 B
YAML

sudo: false
language: c
matrix:
include:
- os: linux
dist: trusty
compiler: clang
addons:
apt:
packages:
- libogg-dev
- libvorbis-dev
- libflac-dev
- libasound2-dev
- os: linux
dist: trusty
compiler: gcc
addons:
apt:
packages:
- libogg-dev
- libvorbis-dev
- libflac-dev
- libasound2-dev
- os: osx
compiler: clang
before_install:
- |
if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
brew install autogen flac libogg libvorbis
fi
install:
- true
script:
- mkdir cmake-build && (cd cmake-build && cmake .. -DCMAKE_BUILD_TYPE=Release && make VERBOSE=1 && ctest -V)
- pwd
- ./autogen.sh
- ./configure --enable-werror && make clean all check && make distcheck