summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-05-01 03:18:11 +0200
committerPablo Barciela <[email protected]>2020-05-01 03:34:22 +0200
commitb5e0fcdfd52f7dfda124853e39af0e804f348735 (patch)
tree7907ceb22e029e6d3cd8055b919679e674713110
parent759927ba9a411ff858e589f176df2b22e2f4b556 (diff)
downloadmate-power-manager-b5e0fcdfd52f7dfda124853e39af0e804f348735.tar.bz2
mate-power-manager-b5e0fcdfd52f7dfda124853e39af0e804f348735.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 421421b..f364ae1 100644
--- a/.build.yml
+++ b/.build.yml
@@ -149,8 +149,16 @@ build_scripts:
- fi
- 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