|
1 | | -language: cpp |
| 1 | +language: generic |
| 2 | +os: linux |
| 3 | +dist: trusty |
| 4 | + |
| 5 | +branches: |
| 6 | + only: |
| 7 | + - master |
2 | 8 |
|
3 | 9 | matrix: |
4 | 10 | include: |
5 | | - - os: linux |
| 11 | + - dist: precise |
6 | 12 | compiler: gcc |
7 | 13 | addons: |
8 | 14 | apt: |
9 | 15 | sources: ['ubuntu-toolchain-r-test'] |
10 | 16 | packages: ['g++-4.7'] |
11 | | - env: COMPILER=g++-4.7 |
| 17 | + env: CXX=g++-4.7 |
12 | 18 |
|
13 | | - - os: linux |
14 | | - compiler: gcc |
15 | | - addons: |
16 | | - apt: |
17 | | - sources: ['ubuntu-toolchain-r-test'] |
18 | | - packages: ['g++-4.8'] |
19 | | - env: COMPILER=g++-4.8 |
| 19 | + - compiler: gcc |
| 20 | + env: CXX=g++-4.8 |
20 | 21 |
|
21 | | - - os: linux |
22 | | - compiler: gcc |
| 22 | + - compiler: gcc |
23 | 23 | addons: |
24 | 24 | apt: |
25 | 25 | sources: ['ubuntu-toolchain-r-test'] |
26 | 26 | packages: ['g++-4.9'] |
27 | | - env: COMPILER=g++-4.9 |
| 27 | + env: CXX=g++-4.9 |
28 | 28 |
|
29 | | - - os: linux |
30 | | - compiler: gcc |
| 29 | + - compiler: gcc |
31 | 30 | addons: |
32 | 31 | apt: |
33 | 32 | sources: ['ubuntu-toolchain-r-test'] |
34 | 33 | packages: ['g++-5'] |
35 | | - env: COMPILER=g++-5 |
| 34 | + env: CXX=g++-5 |
36 | 35 |
|
37 | | - - os: linux |
38 | | - compiler: gcc |
| 36 | + - compiler: gcc |
39 | 37 | addons: |
40 | 38 | apt: |
41 | 39 | sources: ['ubuntu-toolchain-r-test'] |
42 | 40 | packages: ['g++-6'] |
43 | | - env: COMPILER=g++-6 |
| 41 | + env: CXX=g++-6 |
44 | 42 |
|
45 | | - - os: linux |
46 | | - compiler: clang |
47 | | - env: COMPILER=clang++ |
| 43 | + - compiler: gcc |
| 44 | + addons: |
| 45 | + apt: |
| 46 | + sources: ['ubuntu-toolchain-r-test'] |
| 47 | + packages: ['g++-7'] |
| 48 | + env: CXX=g++-7 |
48 | 49 |
|
49 | | - - os: linux |
| 50 | + - dist: precise |
50 | 51 | compiler: clang |
| 52 | + env: CXX=clang++ |
| 53 | + |
| 54 | + - compiler: clang |
51 | 55 | addons: |
52 | 56 | apt: |
53 | | - sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.5'] |
| 57 | + sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-3.5'] |
54 | 58 | packages: ['clang-3.5'] |
55 | | - env: COMPILER=clang++-3.5 |
| 59 | + env: CXX=clang++-3.5 |
56 | 60 |
|
57 | | - - os: linux |
58 | | - compiler: clang |
| 61 | + - compiler: clang |
59 | 62 | addons: |
60 | 63 | apt: |
61 | | - sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.6'] |
| 64 | + sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-3.6'] |
62 | 65 | packages: ['clang-3.6'] |
63 | | - env: COMPILER=clang++-3.6 |
| 66 | + env: CXX=clang++-3.6 |
64 | 67 |
|
65 | | - - os: linux |
| 68 | + - dist: precise |
66 | 69 | compiler: clang |
67 | 70 | addons: |
68 | 71 | apt: |
69 | 72 | sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.7'] |
70 | 73 | packages: ['clang-3.7'] |
71 | | - env: COMPILER=clang++-3.7 |
| 74 | + env: CXX=clang++-3.7 |
72 | 75 |
|
73 | | - - os: linux |
74 | | - compiler: clang |
| 76 | + - compiler: clang |
75 | 77 | addons: |
76 | 78 | apt: |
77 | | - sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.8'] |
| 79 | + sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-3.8'] |
78 | 80 | packages: ['clang-3.8'] |
79 | | - env: COMPILER=clang++-3.8 |
| 81 | + env: CXX=clang++-3.8 |
80 | 82 |
|
81 | | - - os: linux |
82 | | - dist: trusty |
83 | | - compiler: clang |
| 83 | + - compiler: clang |
84 | 84 | addons: |
85 | 85 | apt: |
86 | 86 | sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-3.9'] |
87 | 87 | packages: ['clang-3.9'] |
88 | 88 | env: |
89 | | - - COMPILER=clang++-3.9 |
| 89 | + - CXX=clang++-3.9 |
90 | 90 |
|
91 | | - - os: linux |
92 | | - dist: trusty |
93 | | - compiler: clang |
| 91 | + - compiler: clang |
94 | 92 | addons: |
95 | 93 | apt: |
96 | 94 | sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-4.0'] |
97 | 95 | packages: ['clang-4.0'] |
98 | 96 | env: |
99 | | - - COMPILER=clang++-4.0 |
| 97 | + - CXX=clang++-4.0 |
| 98 | + |
| 99 | + - compiler: clang |
| 100 | + addons: |
| 101 | + apt: |
| 102 | + sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-trusty-5.0'] |
| 103 | + packages: ['clang-5.0'] |
| 104 | + env: |
| 105 | + - CXX=clang++-5.0 |
100 | 106 |
|
101 | 107 | - os: osx |
102 | 108 | osx_image: xcode6.4 |
103 | 109 | compiler: clang |
104 | 110 | env: |
105 | | - - COMPILER=clang++ |
| 111 | + - CXX=clang++ |
106 | 112 |
|
107 | 113 | - os: osx |
108 | 114 | osx_image: xcode7.3 |
109 | 115 | compiler: clang |
110 | 116 | env: |
111 | | - - COMPILER=clang++ |
| 117 | + - CXX=clang++ |
112 | 118 |
|
113 | 119 | - os: osx |
114 | 120 | osx_image: xcode8.2 |
115 | 121 | compiler: clang |
116 | 122 | env: |
117 | | - - COMPILER=clang++ |
| 123 | + - CXX=clang++ |
118 | 124 |
|
119 | | - - os: linux |
120 | | - compiler: gcc |
| 125 | + - compiler: gcc |
121 | 126 | addons: |
122 | 127 | apt: |
123 | 128 | sources: ['ubuntu-toolchain-r-test'] |
124 | | - packages: ['g++-6'] |
| 129 | + packages: ['g++-7'] |
125 | 130 | env: |
126 | | - - COMPILER=g++-6 |
| 131 | + - CXX=g++-7 |
127 | 132 | - CXXFLAGS="-O0 --coverage" |
128 | 133 | before_script: |
129 | | - - pip install --user urllib3[secure] cpp-coveralls |
130 | | - # Work around https://github.com/eddyxu/cpp-coveralls/issues/108 by manually |
131 | | - # installing the pyOpenSSL module and injecting it into urllib3 as per |
132 | | - # https://urllib3.readthedocs.io/en/latest/user-guide.html#ssl-py2 |
133 | | - - sed -i -e '/^import sys$/a import urllib3.contrib.pyopenssl\nurllib3.contrib.pyopenssl.inject_into_urllib3()' $(which coveralls) |
| 134 | + - pip install --user cpp-coveralls |
134 | 135 | after_success: |
135 | | - - coveralls --gcov gcov-6 --gcov-options '\-lp' --exclude src |
| 136 | + - coveralls --gcov gcov-7 --gcov-options '\-lp' --exclude src |
136 | 137 |
|
137 | 138 | script: |
138 | | - make CXX=$COMPILER -j3 |
| 139 | + make -j3 |
0 commit comments