third_party_libsnd/.travis.yml
2017-10-14 21:24:29 +11:00

52 lines
1.2 KiB
YAML

sudo: required
language: c
matrix:
include:
- os: linux
dist: trusty
compiler: clang
addons:
apt:
packages:
- autogen
- libogg-dev
- libvorbis-dev
- libflac-dev
- libasound2-dev
- os: linux
dist: trusty
compiler: gcc
addons:
apt:
packages:
- autogen
- libogg-dev
- libvorbis-dev
- libflac-dev
- libasound2-dev
- os: osx
compiler: clang
before_install:
- |
if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then
brew update
brew install autogen flac libogg libvorbis
else
sudo add-apt-repository ppa:ondrej/autotools -y # automake 1.15
sudo add-apt-repository ppa:cz.nic-labs/knot-dns -y # pkg-config 0.29.2
sudo apt-get update
sudo apt-get install -y autoconf automake-1.15 pkg-config m4 libfftw3-dev libasound2-dev
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