2015-04-19 03:24:46 +02:00
|
|
|
# Build matrix / environment variables are explained on:
|
2013-05-09 00:04:57 +02:00
|
|
|
# http://about.travis-ci.org/docs/user/build-configuration/
|
2013-05-09 00:15:15 +02:00
|
|
|
# This file can be validated on:
|
|
|
|
# http://lint.travis-ci.org/
|
2015-07-11 21:06:18 +02:00
|
|
|
# See also
|
|
|
|
# http://stackoverflow.com/questions/22111549/travis-ci-with-clang-3-4-and-c11/30925448#30925448
|
|
|
|
# to allow C++11, though we are not yet building with -std=c++11
|
2019-01-11 22:13:10 +01:00
|
|
|
language: cpp
|
|
|
|
sudo: false
|
2015-07-11 21:06:18 +02:00
|
|
|
addons:
|
2019-01-11 22:13:10 +01:00
|
|
|
homebrew:
|
2019-01-12 15:54:50 +01:00
|
|
|
packages:
|
|
|
|
- meson
|
|
|
|
- ninja
|
2019-01-11 22:13:10 +01:00
|
|
|
update: false # do not update homebrew by default
|
2015-07-11 21:06:18 +02:00
|
|
|
apt:
|
|
|
|
sources:
|
2015-04-19 03:24:46 +02:00
|
|
|
#- ubuntu-toolchain-r-test
|
2016-11-09 10:05:22 +01:00
|
|
|
- llvm-toolchain-precise-3.5
|
2015-07-11 21:06:18 +02:00
|
|
|
packages:
|
2015-04-19 03:24:46 +02:00
|
|
|
#- gcc-4.9
|
|
|
|
#- g++-4.9
|
2016-11-09 10:05:22 +01:00
|
|
|
- clang-3.5
|
2015-07-11 21:09:52 +02:00
|
|
|
- valgrind
|
2015-04-19 03:24:46 +02:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- os: osx
|
|
|
|
include:
|
2019-01-12 19:32:15 +01:00
|
|
|
- name: Mac clang meson static release testing
|
|
|
|
os: osx
|
2015-04-19 03:24:46 +02:00
|
|
|
osx_image: xcode9.4
|
|
|
|
compiler: clang
|
2019-01-12 19:32:15 +01:00
|
|
|
env:
|
|
|
|
CXX="clang++-3.5"
|
|
|
|
CC="clang-3.5"
|
|
|
|
LIB_TYPE=static
|
|
|
|
BUILD_TYPE=release
|
|
|
|
script: ./.travis_scripts/meson_builder.sh
|
|
|
|
- name: trusty clang meson static release testing
|
|
|
|
os: linux
|
2015-04-19 03:24:46 +02:00
|
|
|
dist: trusty
|
|
|
|
compiler: clang
|
2019-01-12 19:32:15 +01:00
|
|
|
env:
|
|
|
|
CXX="clang++-3.5"
|
|
|
|
CC="clang-3.5"
|
|
|
|
LIB_TYPE=static
|
|
|
|
BUILD_TYPE=release
|
|
|
|
# before_install and install steps only needed for linux meson builds
|
|
|
|
before_install:
|
|
|
|
- source ./.travis_scripts/travis.before_install.${TRAVIS_OS_NAME}.sh
|
|
|
|
install:
|
|
|
|
- source ./.travis_scripts/travis.install.${TRAVIS_OS_NAME}.sh
|
|
|
|
script: ./.travis_scripts/meson_builder.sh
|
|
|
|
- name: xenial gcc cmake coverage
|
|
|
|
os: linux
|
|
|
|
dist: xenial
|
|
|
|
compiler: gcc
|
|
|
|
env:
|
|
|
|
CXX=g++
|
|
|
|
CC=gcc
|
|
|
|
DO_Coverage=ON
|
|
|
|
BUILD_TOOL="Unix Makefiles"
|
|
|
|
BUILD_TYPE=Debug
|
|
|
|
LIB_TYPE=shared
|
|
|
|
DESTDIR=/tmp/cmake_json_cpp
|
|
|
|
script: ./.travis_scripts/cmake_builder.sh
|
|
|
|
# Valgrind has too many false positives from the python wrapping. Need a good suppression file
|
|
|
|
# - name: xenial gcc cmake coverage
|
|
|
|
# os: linux
|
|
|
|
# dist: xenial
|
|
|
|
# compiler: gcc
|
|
|
|
# env: DO_MemCheck=ON CXX=/usr/bin/g++ BUILD_TOOL="Unix Makefiles" BUILD_TYPE=Debug LIB_TYPE=shared DESTDIR=/tmp/cmake_json_cpp
|
|
|
|
# script: ./.travis_scripts/cmake_builder.sh
|
2013-05-08 23:23:52 +02:00
|
|
|
notifications:
|
2015-07-12 16:53:40 +02:00
|
|
|
email: false
|
2019-01-11 22:13:10 +01:00
|
|
|
|
2019-01-12 19:32:15 +01:00
|
|
|
|