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:
|
2017-05-19 19:34:25 +02:00
|
|
|
- OPTIONS="--enable-test"
|
2017-05-17 15:55:25 +02:00
|
|
|
- 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
|
2017-05-19 19:34:25 +02:00
|
|
|
- ./configure --disable-silent-rules --disable-dependency-tracking $OPTIONS
|
2017-05-17 15:27:40 +02:00
|
|
|
- make
|
|
|
|
- make check
|