onqtam | e85b1bb | 2016-06-26 16:41:09 +0300 | [diff] [blame] | 1 | # this file is HEAVILY influenced by https://github.com/boostorg/hana/blob/master/.travis.yml |
| 2 | |
onqtam | 803bb8f | 2017-09-05 13:00:24 +0300 | [diff] [blame] | 3 | dist: trusty |
onqtam | e4c75fc | 2016-05-21 01:24:48 +0300 | [diff] [blame] | 4 | sudo: false |
| 5 | language: c++ |
| 6 | |
| 7 | notifications: |
onqtam | f516977 | 2016-09-09 18:33:13 +0300 | [diff] [blame] | 8 | email: false |
onqtam | e4c75fc | 2016-05-21 01:24:48 +0300 | [diff] [blame] | 9 | # gitter |
| 10 | webhooks: |
| 11 | urls: https://webhooks.gitter.im/e/10941dd1c67e5e967706 |
| 12 | on_success: change |
| 13 | on_failure: always |
| 14 | git: |
onqtam | 9f934f8 | 2016-08-02 12:42:19 +0300 | [diff] [blame] | 15 | depth: 500 |
onqtam | e4c75fc | 2016-05-21 01:24:48 +0300 | [diff] [blame] | 16 | |
| 17 | # both apt and ccache make the builds slower... |
| 18 | #cache: |
| 19 | # - apt |
| 20 | # - ccache |
| 21 | |
| 22 | env: |
| 23 | global: |
| 24 | # - USE_CCACHE=1 |
| 25 | # - CCACHE_SLOPPINESS=pch_defines,time_macros |
| 26 | # - CCACHE_COMPRESS=1 |
| 27 | # - CCACHE_MAXSIZE=200M |
| 28 | # - CCACHE_CPP2=1 |
| 29 | - CMAKE_OPTIONS_GLOBAL="-DCMAKE_EXPORT_COMPILE_COMMANDS=ON" |
onqtam | e4c75fc | 2016-05-21 01:24:48 +0300 | [diff] [blame] | 30 | |
| 31 | addons: |
| 32 | coverity_scan: |
| 33 | # COVERITY_SCAN_TOKEN added as env var in travis project |
| 34 | project: |
| 35 | name: onqtam/doctest |
| 36 | notification_email: vik.kirilov@gmail.com |
onqtam | 92a9ce1 | 2017-05-29 23:56:22 +0300 | [diff] [blame] | 37 | build_command: clang++ scripts/hello_world.cpp -I doctest |
onqtam | e4c75fc | 2016-05-21 01:24:48 +0300 | [diff] [blame] | 38 | branch_pattern: coverity_scan |
| 39 | # these apt sources will be referenced later (by using *name) |
| 40 | apt: |
onqtam | 2c8036f | 2016-06-26 17:12:42 +0300 | [diff] [blame] | 41 | sources: &apt_sources |
| 42 | - ubuntu-toolchain-r-test |
onqtam | 3bf83c4 | 2017-04-23 15:30:23 +0300 | [diff] [blame] | 43 | - llvm-toolchain-trusty |
onqtam | 803bb8f | 2017-09-05 13:00:24 +0300 | [diff] [blame] | 44 | - llvm-toolchain-trusty-3.9 |
onqtam | 3bf83c4 | 2017-04-23 15:30:23 +0300 | [diff] [blame] | 45 | - llvm-toolchain-trusty-4.0 |
onqtam | 803bb8f | 2017-09-05 13:00:24 +0300 | [diff] [blame] | 46 | - llvm-toolchain-trusty-5.0 |
onqtam | cb279b2 | 2018-03-09 01:31:09 +0700 | [diff] [blame] | 47 | - llvm-toolchain-trusty-6.0 |
onqtam | e4c75fc | 2016-05-21 01:24:48 +0300 | [diff] [blame] | 48 | |
| 49 | compiler: clang |
| 50 | os: linux |
| 51 | |
| 52 | matrix: |
onqtam | e4c75fc | 2016-05-21 01:24:48 +0300 | [diff] [blame] | 53 | include: |
onqtam | d1737e4 | 2016-08-01 19:05:07 +0300 | [diff] [blame] | 54 | # coverage |
onqtam | f6d1a51 | 2017-05-01 13:56:12 +0300 | [diff] [blame] | 55 | - env: COMPILER=g++ CODE_COVERAGE=true |
onqtam | d1737e4 | 2016-08-01 19:05:07 +0300 | [diff] [blame] | 56 | compiler: gcc |
| 57 | addons: |
| 58 | apt: |
onqtam | f6d1a51 | 2017-05-01 13:56:12 +0300 | [diff] [blame] | 59 | packages: ["lcov"] |
onqtam | d1737e4 | 2016-08-01 19:05:07 +0300 | [diff] [blame] | 60 | |
onqtam | aec53d2 | 2017-05-03 06:29:47 +0300 | [diff] [blame] | 61 | # static code analysis |
onqtam | 8c3352f | 2018-05-09 12:09:32 +0300 | [diff] [blame] | 62 | - env: COMPILER=clang++-4.0 STATIC_CODE_ANALYSIS=true |
| 63 | addons: &static_analysis |
onqtam | aec53d2 | 2017-05-03 06:29:47 +0300 | [diff] [blame] | 64 | apt: |
onqtam | 8c3352f | 2018-05-09 12:09:32 +0300 | [diff] [blame] | 65 | packages: ["clang-4.0", "clang-tidy-4.0", "cppcheck"] |
onqtam | aec53d2 | 2017-05-03 06:29:47 +0300 | [diff] [blame] | 66 | sources: *apt_sources |
| 67 | |
onqtam | aec53d2 | 2017-05-03 06:29:47 +0300 | [diff] [blame] | 68 | # GCC 4.6 |
| 69 | - env: COMPILER=g++-4.6 |
| 70 | compiler: gcc |
| 71 | addons: &gcc46 |
| 72 | apt: |
onqtam | d43ae6d | 2018-05-29 23:40:00 +0300 | [diff] [blame^] | 73 | packages: [ "valgrind", "g++-4.6-multilib", "libc6-dbg", "libc6-dbg:i386", "linux-libc-dev", "linux-libc-dev:i386"] |
onqtam | aec53d2 | 2017-05-03 06:29:47 +0300 | [diff] [blame] | 74 | sources: *apt_sources |
| 75 | |
| 76 | # GCC 4.7 |
| 77 | - env: COMPILER=g++-4.7 |
| 78 | compiler: gcc |
| 79 | addons: &gcc47 |
| 80 | apt: |
onqtam | d43ae6d | 2018-05-29 23:40:00 +0300 | [diff] [blame^] | 81 | packages: ["g++-4.7", "valgrind", "g++-4.7-multilib", "libc6-dbg", "libc6-dbg:i386", "linux-libc-dev", "linux-libc-dev:i386"] |
onqtam | aec53d2 | 2017-05-03 06:29:47 +0300 | [diff] [blame] | 82 | sources: *apt_sources |
| 83 | |
| 84 | # GCC 4.8 |
| 85 | - env: COMPILER=g++-4.8 HAS_ASAN_32=true HAS_ASAN_64=true |
| 86 | compiler: gcc |
| 87 | addons: &gcc48 |
| 88 | apt: |
onqtam | d43ae6d | 2018-05-29 23:40:00 +0300 | [diff] [blame^] | 89 | packages: ["g++-4.8", "valgrind", "g++-4.8-multilib", "libc6-dbg", "libc6-dbg:i386", "linux-libc-dev", "linux-libc-dev:i386"] |
onqtam | aec53d2 | 2017-05-03 06:29:47 +0300 | [diff] [blame] | 90 | sources: *apt_sources |
| 91 | |
| 92 | # GCC 4.9 |
| 93 | - env: COMPILER=g++-4.9 HAS_UBSAN_32=true HAS_ASAN_64=true HAS_UBSAN_64=true # no ASAN_32 - errors when using ASAN_OPTIONS - probably g++ 4.9 bug |
| 94 | compiler: gcc |
| 95 | addons: &gcc49 |
| 96 | apt: |
onqtam | d43ae6d | 2018-05-29 23:40:00 +0300 | [diff] [blame^] | 97 | packages: ["g++-4.9", "valgrind", "g++-4.9-multilib", "libc6-dbg", "libc6-dbg:i386", "linux-libc-dev", "linux-libc-dev:i386"] |
onqtam | aec53d2 | 2017-05-03 06:29:47 +0300 | [diff] [blame] | 98 | sources: *apt_sources |
| 99 | |
| 100 | # GCC 5 |
| 101 | - env: COMPILER=g++-5 HAS_ASAN_32=true HAS_UBSAN_32=true HAS_ASAN_64=true HAS_UBSAN_64=true ADDITIONAL_CXX_FLAGS=" -fuse-ld=gold" |
| 102 | compiler: gcc |
| 103 | addons: &gcc5 |
| 104 | apt: |
onqtam | d43ae6d | 2018-05-29 23:40:00 +0300 | [diff] [blame^] | 105 | packages: ["g++-5", "valgrind", "g++-5-multilib", "libc6-dbg", "libc6-dbg:i386", "linux-libc-dev", "linux-libc-dev:i386"] |
onqtam | aec53d2 | 2017-05-03 06:29:47 +0300 | [diff] [blame] | 106 | sources: *apt_sources |
| 107 | |
| 108 | # GCC 6 |
| 109 | - env: COMPILER=g++-6 HAS_ASAN_32=true HAS_UBSAN_32=true HAS_ASAN_64=true HAS_UBSAN_64=true ADDITIONAL_CXX_FLAGS=" -fuse-ld=gold" |
| 110 | compiler: gcc |
| 111 | addons: &gcc6 |
| 112 | apt: |
onqtam | d43ae6d | 2018-05-29 23:40:00 +0300 | [diff] [blame^] | 113 | packages: ["g++-6", "valgrind", "g++-6-multilib", "libc6-dbg", "libc6-dbg:i386", "linux-libc-dev", "linux-libc-dev:i386"] |
onqtam | aec53d2 | 2017-05-03 06:29:47 +0300 | [diff] [blame] | 114 | sources: *apt_sources |
| 115 | |
| 116 | # GCC 7 |
| 117 | - env: COMPILER=g++-7 HAS_ASAN_32=true HAS_UBSAN_32=true HAS_ASAN_64=true HAS_UBSAN_64=true ADDITIONAL_CXX_FLAGS=" -fuse-ld=gold" |
| 118 | compiler: gcc |
onqtam | 051def3 | 2018-05-09 11:30:10 +0300 | [diff] [blame] | 119 | sudo: required # see this issue for more details: https://github.com/travis-ci/travis-ci/issues/9033 |
onqtam | aec53d2 | 2017-05-03 06:29:47 +0300 | [diff] [blame] | 120 | addons: &gcc7 |
| 121 | apt: |
onqtam | d43ae6d | 2018-05-29 23:40:00 +0300 | [diff] [blame^] | 122 | packages: ["g++-7", "valgrind", "g++-7-multilib", "libc6-dbg", "libc6-dbg:i386", "linux-libc-dev", "linux-libc-dev:i386"] |
onqtam | aec53d2 | 2017-05-03 06:29:47 +0300 | [diff] [blame] | 123 | sources: *apt_sources |
| 124 | |
onqtam | e5f8b67 | 2018-05-03 16:02:32 +0300 | [diff] [blame] | 125 | # GCC 8 |
| 126 | - env: COMPILER=g++-8 HAS_ASAN_32=true HAS_UBSAN_32=true HAS_ASAN_64=true HAS_UBSAN_64=true ADDITIONAL_CXX_FLAGS=" -fuse-ld=gold" |
| 127 | compiler: gcc |
onqtam | 051def3 | 2018-05-09 11:30:10 +0300 | [diff] [blame] | 128 | sudo: required # see this issue for more details: https://github.com/travis-ci/travis-ci/issues/9033 |
onqtam | e5f8b67 | 2018-05-03 16:02:32 +0300 | [diff] [blame] | 129 | addons: &gcc8 |
| 130 | apt: |
onqtam | d43ae6d | 2018-05-29 23:40:00 +0300 | [diff] [blame^] | 131 | packages: ["g++-8", "valgrind", "g++-8-multilib", "libc6-dbg", "libc6-dbg:i386", "linux-libc-dev", "linux-libc-dev:i386"] |
onqtam | e5f8b67 | 2018-05-03 16:02:32 +0300 | [diff] [blame] | 132 | sources: *apt_sources |
| 133 | |
onqtam | aec53d2 | 2017-05-03 06:29:47 +0300 | [diff] [blame] | 134 | # Clang 3.5 |
| 135 | - env: COMPILER=clang++-3.5 HAS_ASAN_64=true HAS_UBSAN_64=true |
| 136 | addons: &clang35 |
| 137 | apt: |
| 138 | packages: ["clang-3.5", "valgrind", "g++-multilib", "libc6-dbg", "libc6-dbg:i386", "g++-6"] |
| 139 | sources: *apt_sources |
| 140 | |
| 141 | # Clang 3.6 |
| 142 | - env: COMPILER=clang++-3.6 HAS_ASAN_64=true HAS_UBSAN_64=true |
| 143 | addons: &clang36 |
| 144 | apt: |
| 145 | packages: ["clang-3.6", "valgrind", "g++-multilib", "libc6-dbg", "libc6-dbg:i386", "g++-6"] |
| 146 | sources: *apt_sources |
| 147 | |
| 148 | # Clang 3.7 |
| 149 | - env: COMPILER=clang++-3.7 |
| 150 | addons: &clang37 |
| 151 | apt: |
| 152 | packages: ["clang-3.7", "valgrind", "g++-multilib", "libc6-dbg", "libc6-dbg:i386", "g++-6"] |
| 153 | sources: *apt_sources |
| 154 | |
| 155 | # Clang 3.8 |
| 156 | - env: COMPILER=clang++-3.8 HAS_ASAN_64=true HAS_UBSAN_64=true |
| 157 | addons: &clang38 |
| 158 | apt: |
| 159 | packages: ["clang-3.8", "valgrind", "g++-multilib", "libc6-dbg", "libc6-dbg:i386", "g++-6"] |
| 160 | sources: *apt_sources |
| 161 | |
| 162 | # Clang 3.9 |
| 163 | - env: COMPILER=clang++-3.9 HAS_ASAN_64=true HAS_UBSAN_64=true |
| 164 | addons: &clang39 |
| 165 | apt: |
| 166 | packages: ["clang-3.9", "valgrind", "g++-multilib", "libc6-dbg", "libc6-dbg:i386", "g++-6"] |
| 167 | sources: *apt_sources |
| 168 | |
| 169 | # Clang 4.0 |
| 170 | - env: COMPILER=clang++-4.0 HAS_ASAN_32=true HAS_UBSAN_32=true HAS_ASAN_64=true HAS_UBSAN_64=true |
onqtam | 051def3 | 2018-05-09 11:30:10 +0300 | [diff] [blame] | 171 | sudo: required # see this issue for more details: https://github.com/travis-ci/travis-ci/issues/9033 |
onqtam | aec53d2 | 2017-05-03 06:29:47 +0300 | [diff] [blame] | 172 | addons: &clang40 |
| 173 | apt: |
| 174 | packages: ["clang-4.0", "valgrind", "g++-multilib", "libc6-dbg", "libc6-dbg:i386", "g++-6"] |
| 175 | sources: *apt_sources |
| 176 | |
onqtam | 803bb8f | 2017-09-05 13:00:24 +0300 | [diff] [blame] | 177 | # Clang 5.0 |
| 178 | - env: COMPILER=clang++-5.0 HAS_ASAN_32=true HAS_UBSAN_32=true HAS_ASAN_64=true HAS_UBSAN_64=true |
onqtam | 051def3 | 2018-05-09 11:30:10 +0300 | [diff] [blame] | 179 | sudo: required # see this issue for more details: https://github.com/travis-ci/travis-ci/issues/9033 |
onqtam | 803bb8f | 2017-09-05 13:00:24 +0300 | [diff] [blame] | 180 | addons: &clang50 |
| 181 | apt: |
| 182 | packages: ["clang-5.0", "valgrind", "g++-multilib", "libc6-dbg", "libc6-dbg:i386", "g++-6"] |
| 183 | sources: *apt_sources |
| 184 | |
onqtam | cb279b2 | 2018-03-09 01:31:09 +0700 | [diff] [blame] | 185 | # Clang 6.0 |
onqtam | 8c3352f | 2018-05-09 12:09:32 +0300 | [diff] [blame] | 186 | - env: COMPILER=clang++-6.0 HAS_ASAN_64=true HAS_UBSAN_64=true # no ASAN_32/UBSAN_32 - errors: |
onqtam | 051def3 | 2018-05-09 11:30:10 +0300 | [diff] [blame] | 187 | sudo: required # see this issue for more details: https://github.com/travis-ci/travis-ci/issues/9033 |
onqtam | cb279b2 | 2018-03-09 01:31:09 +0700 | [diff] [blame] | 188 | addons: &clang60 |
| 189 | apt: |
| 190 | packages: ["clang-6.0", "valgrind", "g++-multilib", "libc6-dbg", "libc6-dbg:i386", "g++-6"] |
| 191 | sources: *apt_sources |
| 192 | |
onqtam | aec53d2 | 2017-05-03 06:29:47 +0300 | [diff] [blame] | 193 | # Xcode 6.4 Clang |
| 194 | - env: COMPILER=clang++ |
| 195 | osx_image: xcode6.4 |
| 196 | os: osx |
| 197 | |
| 198 | # Xcode 7.3 Clang |
| 199 | - env: COMPILER=clang++ HAS_ASAN_32=true HAS_ASAN_64=true |
| 200 | osx_image: xcode7.3 |
| 201 | os: osx |
| 202 | |
| 203 | # Xcode 8 Clang |
| 204 | - env: COMPILER=clang++ HAS_ASAN_32=true HAS_ASAN_64=true |
| 205 | osx_image: xcode8 |
| 206 | os: osx |
| 207 | |
onqtam | aec53d2 | 2017-05-03 06:29:47 +0300 | [diff] [blame] | 208 | # Xcode 8.3 Clang |
| 209 | - env: COMPILER=clang++ HAS_ASAN_32=true HAS_UBSAN_32=true HAS_ASAN_64=true HAS_UBSAN_64=true |
| 210 | osx_image: xcode8.3 |
| 211 | os: osx |
| 212 | |
onqtam | 8603d87 | 2017-10-06 10:53:25 +0300 | [diff] [blame] | 213 | # Xcode 9 Clang |
| 214 | - env: COMPILER=clang++ HAS_ASAN_32=true HAS_UBSAN_32=true HAS_ASAN_64=true HAS_UBSAN_64=true |
| 215 | osx_image: xcode9 |
| 216 | os: osx |
| 217 | |
| 218 | # Xcode 9.1 Clang |
| 219 | - env: COMPILER=clang++ HAS_ASAN_32=true HAS_UBSAN_32=true HAS_ASAN_64=true HAS_UBSAN_64=true |
| 220 | osx_image: xcode9.1 |
| 221 | os: osx |
| 222 | |
onqtam | 50cbb80 | 2017-12-09 17:17:39 +0200 | [diff] [blame] | 223 | # Xcode 9.2 Clang |
| 224 | - env: COMPILER=clang++ HAS_ASAN_32=true HAS_UBSAN_32=true HAS_ASAN_64=true HAS_UBSAN_64=true |
| 225 | osx_image: xcode9.2 |
| 226 | os: osx |
| 227 | |
onqtam | 3a3bc20 | 2018-04-10 13:54:28 +0300 | [diff] [blame] | 228 | # Xcode 9.3 Clang |
| 229 | - env: COMPILER=clang++ HAS_ASAN_32=true HAS_UBSAN_32=true HAS_ASAN_64=true HAS_UBSAN_64=true |
| 230 | osx_image: xcode9.3 |
| 231 | os: osx |
| 232 | |
onqtam | aec53d2 | 2017-05-03 06:29:47 +0300 | [diff] [blame] | 233 | # OSX GCC 4.9 |
| 234 | - env: COMPILER=g++-4.9 HAS_UBSAN_32=true HAS_ASAN_64=true HAS_UBSAN_64=true # no ASAN_32 - errors when using ASAN_OPTIONS - probably g++ 4.9 bug |
| 235 | compiler: gcc |
| 236 | osx_image: xcode6.4 |
| 237 | os: osx |
| 238 | |
| 239 | # OSX GCC 5 |
| 240 | - env: COMPILER=g++-5 HAS_ASAN_32=true HAS_UBSAN_32=true HAS_ASAN_64=true HAS_UBSAN_64=true |
| 241 | compiler: gcc |
| 242 | osx_image: xcode7.3 |
| 243 | os: osx |
| 244 | |
| 245 | # OSX GCC 6 |
| 246 | - env: COMPILER=g++-6 HAS_ASAN_32=true HAS_UBSAN_32=true HAS_ASAN_64=true HAS_UBSAN_64=true |
| 247 | compiler: gcc |
onqtam | 8c3352f | 2018-05-09 12:09:32 +0300 | [diff] [blame] | 248 | osx_image: xcode9.3 |
onqtam | aec53d2 | 2017-05-03 06:29:47 +0300 | [diff] [blame] | 249 | os: osx |
| 250 | |
| 251 | # OSX GCC 7 |
| 252 | - env: COMPILER=g++-7 HAS_ASAN_32=true HAS_UBSAN_32=true HAS_ASAN_64=true HAS_UBSAN_64=true |
| 253 | compiler: gcc |
onqtam | 8c3352f | 2018-05-09 12:09:32 +0300 | [diff] [blame] | 254 | osx_image: xcode9.3 |
onqtam | aec53d2 | 2017-05-03 06:29:47 +0300 | [diff] [blame] | 255 | os: osx |
| 256 | |
onqtam | ba6808f | 2018-05-09 12:00:28 +0300 | [diff] [blame] | 257 | # OSX GCC 8 |
| 258 | - env: COMPILER=g++-8 HAS_ASAN_32=true HAS_UBSAN_32=true HAS_ASAN_64=true HAS_UBSAN_64=true |
| 259 | compiler: gcc |
onqtam | 8c3352f | 2018-05-09 12:09:32 +0300 | [diff] [blame] | 260 | osx_image: xcode9.3 |
onqtam | ba6808f | 2018-05-09 12:00:28 +0300 | [diff] [blame] | 261 | os: osx |
| 262 | |
onqtam | aec53d2 | 2017-05-03 06:29:47 +0300 | [diff] [blame] | 263 | # OSX LLVM-GCC |
| 264 | - env: COMPILER=g++ HAS_ASAN_32=true HAS_ASAN_64=true |
| 265 | compiler: gcc |
| 266 | os: osx |
| 267 | |
| 268 | allow_failures: |
| 269 | |
onqtam | 803bb8f | 2017-09-05 13:00:24 +0300 | [diff] [blame] | 270 | # Clang 3.7 |
| 271 | - env: COMPILER=clang++-3.7 |
| 272 | |
| 273 | # Clang 3.9 |
| 274 | - env: COMPILER=clang++-3.9 HAS_ASAN_64=true HAS_UBSAN_64=true |
| 275 | |
onqtam | aec53d2 | 2017-05-03 06:29:47 +0300 | [diff] [blame] | 276 | # OSX GCC 6 |
| 277 | - env: COMPILER=g++-6 HAS_ASAN_32=true HAS_UBSAN_32=true HAS_ASAN_64=true HAS_UBSAN_64=true |
| 278 | compiler: gcc |
onqtam | 8c3352f | 2018-05-09 12:09:32 +0300 | [diff] [blame] | 279 | osx_image: xcode9.3 |
onqtam | aec53d2 | 2017-05-03 06:29:47 +0300 | [diff] [blame] | 280 | os: osx |
| 281 | |
onqtam | 803bb8f | 2017-09-05 13:00:24 +0300 | [diff] [blame] | 282 | # OSX GCC 7 |
onqtam | aec53d2 | 2017-05-03 06:29:47 +0300 | [diff] [blame] | 283 | - env: COMPILER=g++-7 HAS_ASAN_32=true HAS_UBSAN_32=true HAS_ASAN_64=true HAS_UBSAN_64=true |
| 284 | compiler: gcc |
onqtam | 8c3352f | 2018-05-09 12:09:32 +0300 | [diff] [blame] | 285 | osx_image: xcode9.3 |
onqtam | aec53d2 | 2017-05-03 06:29:47 +0300 | [diff] [blame] | 286 | os: osx |
onqtam | b1a3de8 | 2016-10-10 22:22:00 +0300 | [diff] [blame] | 287 | |
onqtam | ba6808f | 2018-05-09 12:00:28 +0300 | [diff] [blame] | 288 | # OSX GCC 8 |
| 289 | - env: COMPILER=g++-8 HAS_ASAN_32=true HAS_UBSAN_32=true HAS_ASAN_64=true HAS_UBSAN_64=true |
| 290 | compiler: gcc |
onqtam | 8c3352f | 2018-05-09 12:09:32 +0300 | [diff] [blame] | 291 | osx_image: xcode9.3 |
onqtam | ba6808f | 2018-05-09 12:00:28 +0300 | [diff] [blame] | 292 | os: osx |
| 293 | |
onqtam | 2c8036f | 2016-06-26 17:12:42 +0300 | [diff] [blame] | 294 | install: |
onqtam | f6d1a51 | 2017-05-01 13:56:12 +0300 | [diff] [blame] | 295 | - if [[ "${CODE_COVERAGE}" == "true" ]]; then gem install coveralls-lcov ; fi |
| 296 | |
onqtam | 0115857 | 2016-06-28 14:29:32 +0300 | [diff] [blame] | 297 | ############################################################################ |
onqtam | c7aaa96 | 2016-09-10 02:16:57 +0300 | [diff] [blame] | 298 | # All the dependencies are installed in ${TRAVIS_BUILD_DIR}/deps/ |
| 299 | ############################################################################ |
| 300 | |
onqtam | 5a2b255 | 2017-05-01 14:03:04 +0300 | [diff] [blame] | 301 | # Make a dir for all |
onqtam | c7aaa96 | 2016-09-10 02:16:57 +0300 | [diff] [blame] | 302 | - DEPS_DIR="${TRAVIS_BUILD_DIR}/deps" |
| 303 | - mkdir -p ${DEPS_DIR} && cd ${DEPS_DIR} |
| 304 | |
onqtam | c7aaa96 | 2016-09-10 02:16:57 +0300 | [diff] [blame] | 305 | # Install a recent CMake |
onqtam | c7aaa96 | 2016-09-10 02:16:57 +0300 | [diff] [blame] | 306 | - | |
| 307 | if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then |
onqtam | 8401535 | 2017-03-15 20:11:07 +0200 | [diff] [blame] | 308 | CMAKE_URL="http://www.cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz" |
onqtam | c7aaa96 | 2016-09-10 02:16:57 +0300 | [diff] [blame] | 309 | mkdir cmake && travis_retry wget --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake |
| 310 | export PATH=${DEPS_DIR}/cmake/bin:${PATH} |
| 311 | fi |
| 312 | |
onqtam | ebc7da3 | 2017-05-13 21:33:19 +0300 | [diff] [blame] | 313 | # Install OCLint |
| 314 | - | |
| 315 | if [[ "${STATIC_CODE_ANALYSIS}" = "true" ]]; then |
onqtam | 0a2554a | 2018-05-09 13:09:58 +0300 | [diff] [blame] | 316 | OCLINT_URL="https://github.com/oclint/oclint/releases/download/v0.12/oclint-0.12-x86_64-linux-3.13.0-112-generic.tar.gz" |
onqtam | ebc7da3 | 2017-05-13 21:33:19 +0300 | [diff] [blame] | 317 | mkdir oclint && travis_retry wget --no-check-certificate --quiet -O - ${OCLINT_URL} | tar --strip-components=1 -xz -C oclint |
| 318 | export PATH=${DEPS_DIR}/oclint/bin:${PATH} |
| 319 | fi |
| 320 | |
onqtam | c7aaa96 | 2016-09-10 02:16:57 +0300 | [diff] [blame] | 321 | # Go back to ${TRAVIS_BUILD_DIR} |
onqtam | c7aaa96 | 2016-09-10 02:16:57 +0300 | [diff] [blame] | 322 | - cd ${TRAVIS_BUILD_DIR} |
| 323 | |
| 324 | ############################################################################ |
onqtam | 0115857 | 2016-06-28 14:29:32 +0300 | [diff] [blame] | 325 | # Install stuff with homebrew under OSX |
| 326 | ############################################################################ |
onqtam | c7aaa96 | 2016-09-10 02:16:57 +0300 | [diff] [blame] | 327 | |
onqtam | 23c6a34 | 2016-06-28 14:09:10 +0300 | [diff] [blame] | 328 | - | |
onqtam | e4c75fc | 2016-05-21 01:24:48 +0300 | [diff] [blame] | 329 | if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then |
| 330 | brew update |
| 331 | # brew install ccache |
onqtam | 27a8c08 | 2017-04-04 17:42:41 +0300 | [diff] [blame] | 332 | # brew install valgrind |
onqtam | e4c75fc | 2016-05-21 01:24:48 +0300 | [diff] [blame] | 333 | # cmake |
| 334 | if brew list -1 | grep -q "^cmake\$"; then |
| 335 | brew outdated cmake || brew upgrade cmake |
| 336 | else |
| 337 | brew install cmake |
| 338 | fi |
| 339 | # gcc |
onqtam | e4c75fc | 2016-05-21 01:24:48 +0300 | [diff] [blame] | 340 | if [[ "${COMPILER}" = "g++-4.9" ]]; then |
| 341 | brew install gcc49 |
| 342 | fi |
| 343 | if [[ "${COMPILER}" = "g++-5" ]]; then |
| 344 | brew install gcc5 |
| 345 | fi |
| 346 | if [[ "${COMPILER}" = "g++-6" ]]; then |
| 347 | brew install gcc6 |
onqtam | 26d5d65 | 2018-05-09 16:23:40 +0300 | [diff] [blame] | 348 | brew link --overwrite gcc@6 |
onqtam | e4c75fc | 2016-05-21 01:24:48 +0300 | [diff] [blame] | 349 | fi |
onqtam | aab98c5 | 2017-05-02 19:48:42 +0300 | [diff] [blame] | 350 | if [[ "${COMPILER}" = "g++-7" ]]; then |
| 351 | brew install gcc7 |
onqtam | 26d5d65 | 2018-05-09 16:23:40 +0300 | [diff] [blame] | 352 | brew link --overwrite gcc@7 |
onqtam | aab98c5 | 2017-05-02 19:48:42 +0300 | [diff] [blame] | 353 | fi |
onqtam | ba6808f | 2018-05-09 12:00:28 +0300 | [diff] [blame] | 354 | if [[ "${COMPILER}" = "g++-8" ]]; then |
| 355 | brew install gcc8 |
onqtam | 26d5d65 | 2018-05-09 16:23:40 +0300 | [diff] [blame] | 356 | brew link --overwrite gcc@8 |
onqtam | ba6808f | 2018-05-09 12:00:28 +0300 | [diff] [blame] | 357 | fi |
onqtam | e4c75fc | 2016-05-21 01:24:48 +0300 | [diff] [blame] | 358 | fi |
onqtam | f6d1a51 | 2017-05-01 13:56:12 +0300 | [diff] [blame] | 359 | |
onqtam | e4c75fc | 2016-05-21 01:24:48 +0300 | [diff] [blame] | 360 | - export CXX="${COMPILER}" |
onqtam | 9f934f8 | 2016-08-02 12:42:19 +0300 | [diff] [blame] | 361 | # - export CXX="ccache ${COMPILER}" |
onqtam | e4c75fc | 2016-05-21 01:24:48 +0300 | [diff] [blame] | 362 | # - ccache -s |
onqtam | 7dec6aa | 2016-06-26 16:01:15 +0300 | [diff] [blame] | 363 | |
| 364 | before_script: |
| 365 | - ${CXX} --version |
onqtam | e4c75fc | 2016-05-21 01:24:48 +0300 | [diff] [blame] | 366 | |
| 367 | script: |
onqtam | 81eab5e | 2017-05-08 11:51:20 +0300 | [diff] [blame] | 368 | # coverage |
onqtam | e4c75fc | 2016-05-21 01:24:48 +0300 | [diff] [blame] | 369 | - | |
onqtam | f6d1a51 | 2017-05-01 13:56:12 +0300 | [diff] [blame] | 370 | if [[ "${CODE_COVERAGE}" = "true" ]]; then |
onqtam | 8b8f240 | 2018-05-29 19:05:14 +0300 | [diff] [blame] | 371 | cmake ${CMAKE_OPTIONS_GLOBAL} ${CMAKE_OPTIONS} -DCMAKE_CXX_COMPILER=${CXX} -DCMAKE_CXX_FLAGS="-fprofile-arcs -ftest-coverage -std=c++0x" -DCMAKE_BUILD_TYPE=Debug . || exit 1 |
onqtam | 81eab5e | 2017-05-08 11:51:20 +0300 | [diff] [blame] | 372 | make -k -j2 || exit 1 |
| 373 | ctest --output-on-failure || exit 1 |
| 374 | |
onqtam | f6d1a51 | 2017-05-01 13:56:12 +0300 | [diff] [blame] | 375 | lcov -d . -c -o coverage.info # parse coverage data |
| 376 | lcov -r coverage.info "/usr*" "$(readlink -f examples)/*" -o coverage.info # remove data for system headers and .cpp files |
| 377 | lcov -l coverage.info # just list a short summary of the results |
onqtam | a6a866f | 2017-08-28 12:31:43 +0300 | [diff] [blame] | 378 | coveralls-lcov --repo-token=${COVERALLS_REPO_TOKEN} coverage.info # upload results |
onqtam | 5a2b255 | 2017-05-01 14:03:04 +0300 | [diff] [blame] | 379 | |
onqtam | 81eab5e | 2017-05-08 11:51:20 +0300 | [diff] [blame] | 380 | # do not continue with other build configurations after that |
onqtam | e4c75fc | 2016-05-21 01:24:48 +0300 | [diff] [blame] | 381 | exit |
| 382 | fi |
| 383 | |
onqtam | 81eab5e | 2017-05-08 11:51:20 +0300 | [diff] [blame] | 384 | # static code analysis |
onqtam | 21623a6 | 2017-04-27 21:47:46 +0300 | [diff] [blame] | 385 | - | |
onqtam | 0decb1d | 2017-04-30 19:37:29 +0300 | [diff] [blame] | 386 | if [[ "${STATIC_CODE_ANALYSIS}" = "true" ]]; then |
onqtam | ebc7da3 | 2017-05-13 21:33:19 +0300 | [diff] [blame] | 387 | # setup a test file "doctest.cpp" that is the header + a test case at the end |
| 388 | echo "#define DOCTEST_CONFIG_IMPLEMENT_WITH_MAIN\n" >> doctest.cpp |
| 389 | cat doctest/doctest.h >> doctest.cpp |
onqtam | c2b6e13 | 2017-05-08 16:37:31 +0300 | [diff] [blame] | 390 | echo -e "TEST_CASE(\"\") {\n\tint a = 6;\n\tSUBCASE(\"\") a = 5;\n\tCAPTURE(a);\n\tCHECK(a == 6);\n}\n" >> doctest.cpp |
| 391 | |
onqtam | ebc7da3 | 2017-05-13 21:33:19 +0300 | [diff] [blame] | 392 | # cppcheck |
| 393 | cppcheck doctest.cpp --enable=all --suppress=unmatchedSuppression --suppress=missingIncludeSystem --suppress=unusedFunction --suppress=functionConst --inline-suppr --platform=unix64 --inconclusive --std=posix --inconclusive -v --error-exitcode=1 --template "{file}({line}): {severity} ({id}): {message}" |
| 394 | |
| 395 | # oclint |
| 396 | oclint doctest.cpp -disable-rule=ShortVariableName -disable-rule=LongLine -disable-rule=LongMethod -disable-rule=HighNcssMethod -disable-rule=LongVariableName -disable-rule=HighCyclomaticComplexity -disable-rule=HighNPathComplexity -disable-rule=UnusedLocalVariable -disable-rule=DoubleNegative -disable-rule=MultipleUnaryOperator -disable-rule=DeepNestedBlock || exit 1 |
onqtam | 81eab5e | 2017-05-08 11:51:20 +0300 | [diff] [blame] | 397 | |
| 398 | # clang-tidy |
| 399 | cd scripts/playground |
onqtam | c2b6e13 | 2017-05-08 16:37:31 +0300 | [diff] [blame] | 400 | cmake ${CMAKE_OPTIONS_GLOBAL} ${CMAKE_OPTIONS} -DCMAKE_CXX_COMPILER=${CXX} . || exit 1 |
onqtam | 8732e05 | 2018-05-10 15:53:40 +0300 | [diff] [blame] | 401 | clang-tidy-4.0 -p=. *.cpp -header-filter=.* -warnings-as-errors=* -checks='*,-misc-misplaced-widening-cast,-misc-macro-parentheses,-misc-definitions-in-headers,-misc-unused-parameters,-llvm-header-guard,-llvm-include-order,-google-readability-braces-around-statements,-google-runtime-references,-google-readability-todo,-google-build-using-namespace,-google-explicit-constructor,-cert-err58-cpp,-cppcoreguidelines-pro-type-vararg,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-special-member-functions,-cppcoreguidelines-pro-type-reinterpret-cast,-cppcoreguidelines-pro-bounds-constant-array-index,-cppcoreguidelines-pro-type-member-init,-cppcoreguidelines-pro-type-union-access,-clang-analyzer-security.insecureAPI.strcpy,-modernize-use-nullptr,-modernize-use-equals-default,-modernize-loop-convert,-modernize-use-auto,-modernize-use-bool-literals,-readability-braces-around-statements,-readability-named-parameter,-readability-else-after-return,-readability-redundant-declaration,-readability-implicit-bool-cast' || exit 1 |
onqtam | 81eab5e | 2017-05-08 11:51:20 +0300 | [diff] [blame] | 402 | |
| 403 | # do not continue with other build configurations after that |
| 404 | exit |
| 405 | fi |
onqtam | 21623a6 | 2017-04-27 21:47:46 +0300 | [diff] [blame] | 406 | |
onqtam | e4c75fc | 2016-05-21 01:24:48 +0300 | [diff] [blame] | 407 | # initial run with options |
onqtam | cc35030 | 2016-06-28 14:36:28 +0300 | [diff] [blame] | 408 | - cmake ${CMAKE_OPTIONS_GLOBAL} ${CMAKE_OPTIONS} -DCMAKE_CXX_COMPILER=${CXX} . |
onqtam | e4c75fc | 2016-05-21 01:24:48 +0300 | [diff] [blame] | 409 | |
onqtam | 1586ea2 | 2016-05-21 18:02:26 +0300 | [diff] [blame] | 410 | # debug x64 |
onqtam | 8b8f240 | 2018-05-29 19:05:14 +0300 | [diff] [blame] | 411 | - cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="${ADDITIONAL_CXX_FLAGS} -std=c++0x -m64" . |
onqtam | 1586ea2 | 2016-05-21 18:02:26 +0300 | [diff] [blame] | 412 | - make clean && make -k -j2 |
onqtam | 56d9170 | 2017-04-16 21:03:58 +0300 | [diff] [blame] | 413 | - if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then cmake -DDOCTEST_TEST_MODE=VALGRIND . && ctest --output-on-failure ; fi |
| 414 | - cmake -DDOCTEST_TEST_MODE=COMPARE . && ctest --output-on-failure |
onqtam | 1586ea2 | 2016-05-21 18:02:26 +0300 | [diff] [blame] | 415 | # release x64 |
onqtam | 8b8f240 | 2018-05-29 19:05:14 +0300 | [diff] [blame] | 416 | - cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="${ADDITIONAL_CXX_FLAGS} -std=c++0x -m64" . |
onqtam | 1586ea2 | 2016-05-21 18:02:26 +0300 | [diff] [blame] | 417 | - make clean && make -k -j2 |
onqtam | 56d9170 | 2017-04-16 21:03:58 +0300 | [diff] [blame] | 418 | - if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then cmake -DDOCTEST_TEST_MODE=VALGRIND . && ctest --output-on-failure ; fi |
| 419 | - cmake -DDOCTEST_TEST_MODE=COMPARE . && ctest --output-on-failure |
onqtam | e4c75fc | 2016-05-21 01:24:48 +0300 | [diff] [blame] | 420 | # debug x86 |
onqtam | 8b8f240 | 2018-05-29 19:05:14 +0300 | [diff] [blame] | 421 | - cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="${ADDITIONAL_CXX_FLAGS} -std=c++0x -m32" . |
onqtam | 316fce2 | 2016-05-21 16:57:13 +0300 | [diff] [blame] | 422 | - make clean && make -k -j2 |
onqtam | 56d9170 | 2017-04-16 21:03:58 +0300 | [diff] [blame] | 423 | - if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then cmake -DDOCTEST_TEST_MODE=VALGRIND . && ctest --output-on-failure ; fi |
| 424 | - cmake -DDOCTEST_TEST_MODE=COMPARE . && ctest --output-on-failure |
onqtam | e4c75fc | 2016-05-21 01:24:48 +0300 | [diff] [blame] | 425 | # release x86 |
onqtam | 8b8f240 | 2018-05-29 19:05:14 +0300 | [diff] [blame] | 426 | - cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="${ADDITIONAL_CXX_FLAGS} -std=c++0x -m32" . |
onqtam | 316fce2 | 2016-05-21 16:57:13 +0300 | [diff] [blame] | 427 | - make clean && make -k -j2 |
onqtam | 56d9170 | 2017-04-16 21:03:58 +0300 | [diff] [blame] | 428 | - if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then cmake -DDOCTEST_TEST_MODE=VALGRIND . && ctest --output-on-failure ; fi |
| 429 | - cmake -DDOCTEST_TEST_MODE=COMPARE . && ctest --output-on-failure |
onqtam | e4c75fc | 2016-05-21 01:24:48 +0300 | [diff] [blame] | 430 | |
| 431 | # sanitizers - again 32/64 bit Debug/Release configs through address/undefined sanitizers |
onqtam | 56d9170 | 2017-04-16 21:03:58 +0300 | [diff] [blame] | 432 | - cmake -DDOCTEST_TEST_MODE=NORMAL . |
onqtam | e4c75fc | 2016-05-21 01:24:48 +0300 | [diff] [blame] | 433 | # on separate commands because when something fails I want to see which one exactly |
onqtam | 84b19bc | 2016-08-26 12:40:31 +0300 | [diff] [blame] | 434 | # TODO: when this http://stackoverflow.com/questions/39081183 gets resolved - add these to ASAN as well: check_initialization_order=true:strict_init_order=true |
onqtam | 8b8f240 | 2018-05-29 19:05:14 +0300 | [diff] [blame] | 435 | - if [[ "${HAS_ASAN_64}" = "true" ]]; then cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="${ADDITIONAL_CXX_FLAGS} -std=c++0x -g -fno-omit-frame-pointer -m64 -fsanitize=address" . && make clean && make -k -j2 && ASAN_OPTIONS=verbosity=2:strict_string_checks=true:detect_odr_violation=2:detect_stack_use_after_return=true ctest --output-on-failure ; fi |
| 436 | - if [[ "${HAS_ASAN_32}" = "true" ]]; then cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="${ADDITIONAL_CXX_FLAGS} -std=c++0x -g -fno-omit-frame-pointer -m32 -fsanitize=address" . && make clean && make -k -j2 && ASAN_OPTIONS=verbosity=2:strict_string_checks=true:detect_odr_violation=2:detect_stack_use_after_return=true ctest --output-on-failure ; fi |
| 437 | - if [[ "${HAS_ASAN_64}" = "true" ]]; then cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="${ADDITIONAL_CXX_FLAGS} -std=c++0x -g -fno-omit-frame-pointer -m64 -fsanitize=address" . && make clean && make -k -j2 && ASAN_OPTIONS=verbosity=2:strict_string_checks=true:detect_odr_violation=2:detect_stack_use_after_return=true ctest --output-on-failure ; fi |
| 438 | - if [[ "${HAS_ASAN_32}" = "true" ]]; then cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="${ADDITIONAL_CXX_FLAGS} -std=c++0x -g -fno-omit-frame-pointer -m32 -fsanitize=address" . && make clean && make -k -j2 && ASAN_OPTIONS=verbosity=2:strict_string_checks=true:detect_odr_violation=2:detect_stack_use_after_return=true ctest --output-on-failure ; fi |
| 439 | - if [[ "${HAS_UBSAN_64}" = "true" ]]; then cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="${ADDITIONAL_CXX_FLAGS} -std=c++0x -g -fno-omit-frame-pointer -m64 -fsanitize=undefined" . && make clean && make -k -j2 && UBSAN_OPTIONS=verbosity=2 ctest --output-on-failure ; fi |
| 440 | - if [[ "${HAS_UBSAN_32}" = "true" ]]; then cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="${ADDITIONAL_CXX_FLAGS} -std=c++0x -g -fno-omit-frame-pointer -m32 -fsanitize=undefined" . && make clean && make -k -j2 && UBSAN_OPTIONS=verbosity=2 ctest --output-on-failure ; fi |
| 441 | - if [[ "${HAS_UBSAN_64}" = "true" ]]; then cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="${ADDITIONAL_CXX_FLAGS} -std=c++0x -g -fno-omit-frame-pointer -m64 -fsanitize=undefined" . && make clean && make -k -j2 && UBSAN_OPTIONS=verbosity=2 ctest --output-on-failure ; fi |
| 442 | - if [[ "${HAS_UBSAN_32}" = "true" ]]; then cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="${ADDITIONAL_CXX_FLAGS} -std=c++0x -g -fno-omit-frame-pointer -m32 -fsanitize=undefined" . && make clean && make -k -j2 && UBSAN_OPTIONS=verbosity=2 ctest --output-on-failure ; fi |
onqtam | 5cab8e9 | 2016-10-10 17:58:38 +0300 | [diff] [blame] | 443 | |
onqtam | 7a3ad26 | 2017-03-18 18:05:10 +0200 | [diff] [blame] | 444 | # test without rtti - just Debug/x64 |
onqtam | 8b8f240 | 2018-05-29 19:05:14 +0300 | [diff] [blame] | 445 | - cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="${ADDITIONAL_CXX_FLAGS} -std=c++0x -m64 -fno-rtti" . |
onqtam | f63c510 | 2017-02-25 20:00:52 +0200 | [diff] [blame] | 446 | - make clean && make -k -j2 |
onqtam | 56d9170 | 2017-04-16 21:03:58 +0300 | [diff] [blame] | 447 | - cmake -DDOCTEST_TEST_MODE=COMPARE . && ctest --output-on-failure |
onqtam | f63c510 | 2017-02-25 20:00:52 +0200 | [diff] [blame] | 448 | |
onqtam | 7a3ad26 | 2017-03-18 18:05:10 +0200 | [diff] [blame] | 449 | # test only compilation without exceptions - just Debug/x64 |
onqtam | 8b8f240 | 2018-05-29 19:05:14 +0300 | [diff] [blame] | 450 | - cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="${ADDITIONAL_CXX_FLAGS} -std=c++0x -m64 -fno-exceptions -DDOCTEST_CONFIG_NO_EXCEPTIONS_BUT_WITH_ALL_ASSERTS" . |
onqtam | 2d93e04 | 2017-03-17 18:57:59 +0200 | [diff] [blame] | 451 | - make clean && make -k -j2 |
| 452 | |
onqtam | e4c75fc | 2016-05-21 01:24:48 +0300 | [diff] [blame] | 453 | # - ccache -s |
| 454 | |
onqtam | 2dd5528 | 2016-06-13 18:05:38 +0300 | [diff] [blame] | 455 | #after_script: |
| 456 | # - cat compile_commands.json |