1
1
# Build matrix / environment variables are explained on:
2
2
# 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
8
7
language : cpp
9
8
sudo : false
10
9
addons :
@@ -15,34 +14,32 @@ addons:
15
14
update : false # do not update homebrew by default
16
15
apt :
17
16
sources :
18
- # - ubuntu-toolchain-r-test
19
- - llvm-toolchain-precise-3.5
17
+ - ubuntu-toolchain-r-test
18
+ - llvm-toolchain-xenial-8
20
19
packages :
21
- # - gcc-4.9
22
- # - g++-4.9
23
- - clang-3.5
20
+ - clang-8
24
21
- valgrind
25
22
matrix :
26
23
allow_failures :
27
24
- os : osx
28
25
include :
29
26
- name : Mac clang meson static release testing
30
27
os : osx
31
- osx_image : xcode9.4
28
+ osx_image : xcode10.2
32
29
compiler : clang
33
- env :
34
- CXX="clang++-3.5"
35
- CC="clang-3.5 "
30
+ env :
31
+ CXX="clang++"
32
+ CC="clang"
36
33
LIB_TYPE=static
37
34
BUILD_TYPE=release
38
35
script : ./.travis_scripts/meson_builder.sh
39
- - name : trusty clang meson static release testing
36
+ - name : xenial clang meson static release testing
40
37
os : linux
41
- dist : trusty
38
+ dist : xenial
42
39
compiler : clang
43
- env :
44
- CXX="clang++-3.5"
45
- CC="clang-3.5 "
40
+ env :
41
+ CXX="clang++"
42
+ CC="clang"
46
43
LIB_TYPE=static
47
44
BUILD_TYPE=release
48
45
# before_install and install steps only needed for linux meson builds
@@ -55,23 +52,14 @@ matrix:
55
52
os : linux
56
53
dist : xenial
57
54
compiler : gcc
58
- env :
55
+ env :
59
56
CXX=g++
60
57
CC=gcc
61
58
DO_Coverage=ON
62
59
BUILD_TOOL="Unix Makefiles"
63
- BUILD_TYPE=Debug
64
- LIB_TYPE=shared
60
+ BUILD_TYPE=Debug
61
+ LIB_TYPE=shared
65
62
DESTDIR=/tmp/cmake_json_cpp
66
63
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
74
64
notifications :
75
65
email : false
76
-
77
-
0 commit comments