summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-04-20 02:12:19 +0200
committerPablo Barciela <[email protected]>2020-04-20 02:29:18 +0200
commit5bbb85f1780c8e5a8fee4cf62b030b655eb57871 (patch)
tree4a4b0fe5430811c09a8c881ab44439cfded369d1
parent6230430efaf19e3325adb353508b0502c7852c7d (diff)
downloadmate-desktop-5bbb85f1780c8e5a8fee4cf62b030b655eb57871.tar.bz2
mate-desktop-5bbb85f1780c8e5a8fee4cf62b030b655eb57871.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 7f3e601..911e1b7 100644
--- a/.build.yml
+++ b/.build.yml
@@ -126,8 +126,16 @@ build_scripts:
- NOCONFIGURE=1 ./autogen.sh
- scan-build $CHECKERS ./configure --prefix=/usr --enable-gtk-doc --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