input/qobuz: implement InputPlugin::scan_tags()
[mpd-mirror.git] / .travis.yml
blobf8823c0240459cb53ecc1d9b35c0c10e6367496d
1 dist: trusty
2 language: cpp
4 addons:
5   apt:
6     packages:
7       - libcppunit-dev
8       - libboost-dev
10 os:
11   - linux
12   - osx
14 env:
15   global:
16     - MAKEFLAGS="-j2"
18 before_install:
19   # C++14
20   - test "$TRAVIS_OS_NAME" != "linux" || sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
21   - test "$TRAVIS_OS_NAME" != "linux" || sudo apt-get update -qq
22   - test "$TRAVIS_OS_NAME" != "osx" || brew update
24 install:
25   # C++14
26   - test "$TRAVIS_OS_NAME" != "linux" || sudo apt-get install -qq g++-5
27   - test "$TRAVIS_OS_NAME" != "osx" || brew install cppunit
29 script:
30   - OPTIONS="--enable-test"
31   - test "$TRAVIS_OS_NAME" != "linux" || export CC=gcc-5 CXX=g++-5
32   - test "$TRAVIS_OS_NAME" != "osx" || OPTIONS="$OPTIONS --enable-osx"
33   - ./autogen.sh
34   - ./configure --disable-silent-rules --disable-dependency-tracking $OPTIONS
35   - make
36   - make check