diff options
author | Pablo Barciela <[email protected]> | 2020-04-19 03:18:53 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2020-04-19 03:53:34 +0200 |
commit | 0bda41aed1cf95da8c42520573df55447aea66c9 (patch) | |
tree | e0d2a903150e2027028193d809db3788fdaf103a | |
parent | d489851fbaed00cb21d091e7f4c59030c7048df4 (diff) | |
download | mate-calc-0bda41aed1cf95da8c42520573df55447aea66c9.tar.bz2 mate-calc-0bda41aed1cf95da8c42520573df55447aea66c9.tar.xz |
Travis CI: debian build: add clang compiler
-rw-r--r-- | .build.yml | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -113,8 +113,16 @@ build_scripts: - ./autogen.sh - scan-build $CHECKERS ./configure --enable-compile-warnings=maximum - if [ $CPU_COUNT -gt 1 ]; then + - if [ ${DISTRO_NAME} == "debian" ];then + - scan-build $CHECKERS --keep-cc --use-cc=clang --use-c++=clang++ -o html-report make -j $CPU_COUNT + - make clean + - fi - scan-build $CHECKERS --keep-cc -o html-report make -j $CPU_COUNT - else + - if [ ${DISTRO_NAME} == "debian" ];then + - scan-build $CHECKERS --keep-cc --use-cc=clang --use-c++=clang++ -o html-report make + - make clean + - fi - scan-build $CHECKERS --keep-cc -o html-report make - fi |