diff options
author | Pablo Barciela <[email protected]> | 2020-05-01 03:18:11 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2020-05-01 03:34:22 +0200 |
commit | b5e0fcdfd52f7dfda124853e39af0e804f348735 (patch) | |
tree | 7907ceb22e029e6d3cd8055b919679e674713110 | |
parent | 759927ba9a411ff858e589f176df2b22e2f4b556 (diff) | |
download | mate-power-manager-b5e0fcdfd52f7dfda124853e39af0e804f348735.tar.bz2 mate-power-manager-b5e0fcdfd52f7dfda124853e39af0e804f348735.tar.xz |
Travis CI: debian build: add clang compiler
-rw-r--r-- | .build.yml | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |