opusdec: Use literal format strings
[opus-tools.git] / .travis.yml
1 language: c
2
3 # We need at least Ubuntu 14.04 for the libopus dependency.
4 dist: trusty
5
6 addons:
7   apt:
8     packages:
9       - libogg-dev
10       - libopus-dev
11       - libopusfile-dev
12       - libflac-dev
13
14 os:
15   - linux
16   - osx
17
18 compiler:
19   - gcc
20   - clang
21
22 before_install:
23   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
24   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libogg opus opusfile libopusenc flac xz; fi
25   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then git clone https://git.xiph.org/libopusenc.git; fi
26   - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pushd libopusenc; ./autogen.sh; ./configure --prefix=$PWD/_inst; make check; make install; export PKG_CONFIG_PATH=$PWD/_inst/lib/pkgconfig; popd; fi
27
28 script:
29   - ./autogen.sh
30   - ./configure
31   - make
32   - make distcheck