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-Tag: v7.6.4~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b2aae42354ee10d260fd7c95413f7d8fbd3ae38c;p=libatomic_ops Travis CI: Test compilation of 'src' files as C++ ones (Clang) --- diff --git a/.travis.yml b/.travis.yml index 4c18e09..243730a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -250,6 +250,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: