]> granicus.if.org Git - gc/commitdiff
Travis CI: Test builds with -D LINT2
authorIvan Maidanski <ivmai@mail.ru>
Mon, 27 Mar 2017 21:38:01 +0000 (00:38 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 10 Apr 2017 20:35:31 +0000 (23:35 +0300)
(Cherry-pick commit 518eb14 from 'master' branch.)

.travis.yml

index dc98d72a08954e46f527993b8d882cd284f2b53d..f2cfbc1ab7afdaab36a3be836db3c67a8e9ec98f 100644 (file)
@@ -34,7 +34,7 @@ matrix:
         - CONF_OPTIONS="--enable-gc-assertions --enable-cplusplus"
     - os: osx
       env:
-        - CFLAGS_EXTRA="-D DBG_HDRS_ALL -D SHORT_DBG_HDRS"
+        - CFLAGS_EXTRA="-D DBG_HDRS_ALL -D SHORT_DBG_HDRS -D LINT2"
         - CONF_OPTIONS="--enable-gc-assertions --enable-cplusplus"
     - os: linux
       compiler: gcc
@@ -85,6 +85,7 @@ matrix:
       compiler: gcc
       env:
         - CONF_OPTIONS="--enable-large-config --enable-munmap --enable-cplusplus"
+        - CFLAGS_EXTRA="-D LINT2"
     - os: linux
       compiler: clang
       env: