summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-09-27 15:09:14 +0200
committerraveit65 <[email protected]>2019-10-01 14:14:44 +0200
commite6891941c090ceb7b9a1257af273286a47cf7c74 (patch)
treeb23cc8e577467d352015a87cb0ad81ae5389f57f
parent54f10719ae236f67db8505a0217c190bac32c13b (diff)
downloadmarco-e6891941c090ceb7b9a1257af273286a47cf7c74.tar.bz2
marco-e6891941c090ceb7b9a1257af273286a47cf7c74.tar.xz
travis (ci): use --enable-compile-warnings=maximum
- build mate-common from tarball
-rw-r--r--.travis.yml15
1 files changed, 14 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index b2faf62c..2ffae408 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -192,8 +192,21 @@ variables:
-enable-checker alpha.core.FixedAddr
-enable-checker security.insecureAPI.strcpy"'
+before_scripts:
+ - cd ${START_DIR}
+ - '[ -f mate-common-1.23.3.tar.xz ] || curl -Ls -o mate-common-1.23.3.tar.xz http://pub.mate-desktop.org/releases/1.23/mate-common-1.23.3.tar.xz'
+ - tar xf mate-common-1.23.3.tar.xz
+ - cd mate-common-1.23.3
+ - if [ ${DISTRO_NAME} == "debian" -o ${DISTRO_NAME} == "ubuntu" ];then
+ - ./configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/x86_64-linux-gnu
+ - else
+ - ./configure --prefix=/usr
+ - fi
+ - make
+ - make install
+
build_scripts:
- - ./autogen.sh
+ - ./autogen.sh --enable-compile-warnings=maximum
- scan-build $CHECKERS ./configure
- if [ $CPU_COUNT -gt 1 ]; then
- scan-build $CHECKERS --keep-cc -o html-report make -j $CPU_COUNT