Travis CI: Do not output config.h if CSA_CHECK or CPPCHECK
authorIvan Maidanski <ivmai@mail.ru>
Sat, 18 Feb 2017 14:20:05 +0000 (17:20 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Sat, 18 Feb 2017 14:20:05 +0000 (17:20 +0300)
(fix commit e6249bb)

.travis.yml

index 7afe566..742dd9d 100644 (file)
@@ -73,7 +73,9 @@ install:
 script:
   - ./configure $CONF_ASSERTIONS $CONF_INTRINSICS $CONF_GCOV
                 $CONF_SHARED --enable-werror
-  - cat src/config.h
+  - if [[ "$CSA_CHECK" != true && "$CPPCHECK" != true ]]; then
+      cat src/config.h;
+    fi
   - if [[ "$CSA_CHECK" == true || "$CPPCHECK" == true ]]; then
       make --directory tests list_atomic.c test_atomic_include.h;
     else