summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-04-26 03:48:30 +0200
committerPablo Barciela <[email protected]>2020-04-26 04:28:25 +0200
commit88c8edc1f3f049b2aac28d54096970fd3416d479 (patch)
treecea4b30565579baa7baf9e9aed7a6fd65f3a191d
parent28a6d13866b121ba4ad73d4118e33c686ed3c75c (diff)
downloadmate-session-manager-88c8edc1f3f049b2aac28d54096970fd3416d479.tar.bz2
mate-session-manager-88c8edc1f3f049b2aac28d54096970fd3416d479.tar.xz
Travis CI: debian build: add clang compiler
-rw-r--r--.build.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
index 3e47bb9..46f6a5f 100644
--- a/.build.yml
+++ b/.build.yml
@@ -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