diff options
author | Pablo Barciela <[email protected]> | 2020-04-26 03:48:30 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2020-04-26 04:28:25 +0200 |
commit | 88c8edc1f3f049b2aac28d54096970fd3416d479 (patch) | |
tree | cea4b30565579baa7baf9e9aed7a6fd65f3a191d | |
parent | 28a6d13866b121ba4ad73d4118e33c686ed3c75c (diff) | |
download | mate-session-manager-88c8edc1f3f049b2aac28d54096970fd3416d479.tar.bz2 mate-session-manager-88c8edc1f3f049b2aac28d54096970fd3416d479.tar.xz |
Travis CI: debian build: add clang compiler
-rw-r--r-- | .build.yml | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -141,8 +141,16 @@ build_scripts: - NOCONFIGURE=1 ./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 |