mpd/.travis.yml

38 lines
754 B
YAML
Raw Normal View History

2017-04-27 19:43:05 +02:00
language: cpp
2018-02-16 23:21:14 +01:00
matrix:
include:
- os: linux
dist: trusty
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
- libcppunit-dev
- libboost-dev
2017-04-27 19:43:05 +02:00
2018-02-16 23:21:14 +01:00
- os: osx
2017-04-27 19:43:05 +02:00
2017-05-17 15:36:59 +02:00
env:
global:
- MAKEFLAGS="-j2"
2017-04-27 19:43:05 +02:00
before_install:
# C++14
2017-05-17 16:54:02 +02:00
- test "$TRAVIS_OS_NAME" != "osx" || brew update
2017-04-27 19:43:05 +02:00
install:
# C++14
2017-05-17 16:54:02 +02:00
- test "$TRAVIS_OS_NAME" != "osx" || brew install cppunit
2017-04-27 19:43:05 +02:00
script:
- OPTIONS="--enable-test"
- test "$TRAVIS_OS_NAME" != "linux" || export CC=gcc-5 CXX=g++-5
2017-05-17 16:54:02 +02:00
- test "$TRAVIS_OS_NAME" != "osx" || OPTIONS="$OPTIONS --enable-osx"
2017-05-17 15:27:40 +02:00
- ./autogen.sh
- ./configure --disable-silent-rules --disable-dependency-tracking $OPTIONS
2017-05-17 15:27:40 +02:00
- make
- make check