Skip to content

Commit e2084dd

Browse files
Add CI compilation with clang++-3.8
This is to check that changes do not break compilation using clang++-3.8, as happened with #4699
1 parent f250e8b commit e2084dd

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.travis.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,35 @@ jobs:
182182
- WITH_MEMORY_ANALYZER=1
183183
script: echo "Not running any tests for a debug build."
184184

185+
# Ubuntu Linux with glibc using clang++-3.8, debug mode
186+
- stage: Test different OS/CXX/Flags
187+
os: linux
188+
sudo: false
189+
compiler: clang-3.8
190+
cache: ccache
191+
addons:
192+
apt:
193+
sources:
194+
- ubuntu-toolchain-r-test
195+
- llvm-toolchain-trusty-7
196+
packages:
197+
- libwww-perl
198+
- clang-3.8
199+
- libstdc++-5-dev
200+
- libubsan0
201+
- jq
202+
- gdb
203+
before_install:
204+
- mkdir bin
205+
- export CCACHE_CPP2=yes
206+
# env: COMPILER=clang++-3.8 SAN_FLAGS="-fsanitize=undefined -fno-sanitize-recover=undefined,integer -fno-omit-frame-pointer"
207+
env:
208+
- COMPILER="ccache /usr/bin/clang++-3.8"
209+
- EXTRA_CXXFLAGS="-Qunused-arguments -fcolor-diagnostics -DDEBUG -DUSE_STD_STRING"
210+
- CCACHE_CPP2=yes
211+
- WITH_MEMORY_ANALYZER=1
212+
script: echo "Not running any tests for a debug build."
213+
185214
# cmake build using g++-7, enable NAMED_SUB_IS_FORWARD_LIST
186215
- stage: Test different OS/CXX/Flags
187216
os: linux

0 commit comments

Comments
 (0)