11# Build matrix / environment variables are explained on:
22# http://about.travis-ci.org/docs/user/build-configuration/
3- # This file can be validated on:
4- # http://lint.travis-ci.org/
5- # See also
6- # http://stackoverflow.com/questions/22111549/travis-ci-with-clang-3-4-and-c11/30925448#30925448
7- # to allow C++11, though we are not yet building with -std=c++11
3+ # This file can be validated on: http://www.yamllint.com/
4+ # Or using the Ruby based travel command line tool:
5+ # gem install travis --no-rdoc --no-ri
6+ # travis lint .travis.yml
87language : cpp
98sudo : false
109addons :
@@ -15,34 +14,32 @@ addons:
1514 update : false # do not update homebrew by default
1615 apt :
1716 sources :
18- # - ubuntu-toolchain-r-test
19- - llvm-toolchain-precise-3.5
17+ - ubuntu-toolchain-r-test
18+ - llvm-toolchain-xenial-8
2019 packages :
21- # - gcc-4.9
22- # - g++-4.9
23- - clang-3.5
20+ - clang-8
2421 - valgrind
2522matrix :
2623 allow_failures :
2724 - os : osx
2825 include :
2926 - name : Mac clang meson static release testing
3027 os : osx
31- osx_image : xcode9.4
28+ osx_image : xcode10.2
3229 compiler : clang
33- env :
34- CXX="clang++-3.5"
35- CC="clang-3.5 "
30+ env :
31+ CXX="clang++"
32+ CC="clang"
3633 LIB_TYPE=static
3734 BUILD_TYPE=release
3835 script : ./.travis_scripts/meson_builder.sh
39- - name : trusty clang meson static release testing
36+ - name : Linux xenial clang meson static release testing
4037 os : linux
41- dist : trusty
38+ dist : xenial
4239 compiler : clang
43- env :
44- CXX="clang++-3.5"
45- CC="clang-3.5 "
40+ env :
41+ CXX="clang++"
42+ CC="clang"
4643 LIB_TYPE=static
4744 BUILD_TYPE=release
4845 # before_install and install steps only needed for linux meson builds
@@ -51,27 +48,18 @@ matrix:
5148 install :
5249 - source ./.travis_scripts/travis.install.${TRAVIS_OS_NAME}.sh
5350 script : ./.travis_scripts/meson_builder.sh
54- - name : xenial gcc cmake coverage
51+ - name : Linux xenial gcc cmake coverage
5552 os : linux
5653 dist : xenial
5754 compiler : gcc
58- env :
55+ env :
5956 CXX=g++
6057 CC=gcc
6158 DO_Coverage=ON
6259 BUILD_TOOL="Unix Makefiles"
63- BUILD_TYPE=Debug
64- LIB_TYPE=shared
60+ BUILD_TYPE=Debug
61+ LIB_TYPE=shared
6562 DESTDIR=/tmp/cmake_json_cpp
6663 script : ./.travis_scripts/cmake_builder.sh
67- # Valgrind has too many false positives from the python wrapping. Need a good suppression file
68- # - name: xenial gcc cmake coverage
69- # os: linux
70- # dist: xenial
71- # compiler: gcc
72- # env: DO_MemCheck=ON CXX=/usr/bin/g++ BUILD_TOOL="Unix Makefiles" BUILD_TYPE=Debug LIB_TYPE=shared DESTDIR=/tmp/cmake_json_cpp
73- # script: ./.travis_scripts/cmake_builder.sh
7464notifications :
7565 email : false
76-
77-
0 commit comments