Travis CI: Test compilation of GC/cord C files as C++ (Makefile.direct)
authorIvan Maidanski <ivmai@mail.ru>
Tue, 20 Feb 2018 08:13:20 +0000 (11:13 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 20 Feb 2018 08:13:20 +0000 (11:13 +0300)
.travis.yml

index 214f4c9..89faa8d 100644 (file)
@@ -458,6 +458,12 @@ matrix:
     - MAKEFILE_TARGETS_CHECK="check"
     - NO_CLONE_LIBATOMIC_OPS=true
   - os: linux
+    compiler: clang
+    env:
+    - CFLAGS_EXTRA="-O3 -Wall -Wextra -Werror -x c++"
+    - MAKEFILE_NAME=Makefile.direct
+    - MAKEFILE_TARGETS="cords"
+  - os: linux
     compiler: gcc
     env:
     - CC_FOR_CHECK=g++