From: Ivan Maidanski Date: Wed, 14 Feb 2018 07:06:28 +0000 (+0300) Subject: Travis CI: Test compilation of 'src' files as C++ ones (Clang) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=62b96095a3db430c45a8dbca7294dec52b3a1658;p=libatomic_ops Travis CI: Test compilation of 'src' files as C++ ones (Clang) --- diff --git a/.travis.yml b/.travis.yml index 9d8573f..03d48e4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -262,6 +262,12 @@ matrix: - CSA_CHECK=true - MAKEFILE_TARGET=all - CFLAGS_EXTRA="-D AO_TRACE_MALLOC -D HAVE_MMAP -D VERBOSE" + - os: linux + compiler: clang + env: + - CFLAGS_EXTRA="-x c++ -march=native -D VERBOSE" + - CONF_OPTIONS="--enable-assertions" + - MAKEFILE_TARGET=all - os: linux compiler: gcc env: