855d1bc5a1
The clang/libc++ version in the default xcode8 image is unable to compile MPD due to incomplete C++14 support.
39 lines
784 B
YAML
39 lines
784 B
YAML
language: cpp
|
|
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
dist: trusty
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- g++-5
|
|
- libcppunit-dev
|
|
- libboost-dev
|
|
|
|
- os: osx
|
|
osx_image: xcode9.3beta
|
|
|
|
env:
|
|
global:
|
|
- MAKEFLAGS="-j2"
|
|
|
|
before_install:
|
|
# C++14
|
|
- test "$TRAVIS_OS_NAME" != "osx" || brew update
|
|
|
|
install:
|
|
# C++14
|
|
- test "$TRAVIS_OS_NAME" != "osx" || brew install cppunit
|
|
|
|
script:
|
|
- OPTIONS="--enable-test"
|
|
- test "$TRAVIS_OS_NAME" != "linux" || export CC=gcc-5 CXX=g++-5
|
|
- test "$TRAVIS_OS_NAME" != "osx" || OPTIONS="$OPTIONS --enable-osx"
|
|
- ./autogen.sh
|
|
- ./configure --disable-silent-rules --disable-dependency-tracking $OPTIONS
|
|
- make
|
|
- make check
|