From 1c381a61f3dbe9c42945cbd5ca73832d0b7cfe25 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 27 Sep 2019 12:38:26 +0200 Subject: travis (ci): use --enable-compile-warnings=maximum - build mate-common from tarball --- .travis.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 18e5cf6..39f206d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -181,12 +181,25 @@ 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: - if [ ${DISTRO_NAME} == "debian" -o ${DISTRO_NAME} == "ubuntu" ];then - - ./autogen.sh --without-keyring + - ./autogen.sh --without-keyring --enable-compile-warnings=maximum - scan-build $CHECKERS ./configure --without-keyring - else - - ./autogen.sh + - ./autogen.sh --enable-compile-warnings=maximum - scan-build $CHECKERS ./configure - fi - if [ $CPU_COUNT -gt 1 ]; then -- cgit v1.2.1