From 5d782c3f6c11d0a49c595eb5dc547eab867c47a8 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Fri, 27 Sep 2019 10:10:48 +0200 Subject: travis (ci): use --enable-compile-warnings=maximum - build mate-common from tarball --- .travis.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 478f6c7a..f9f019a6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -64,6 +64,7 @@ env: requires: archlinux: # Useful URL: https://git.archlinux.org/svntogit/community.git/tree/mate-utils + - autoconf-archive - clang - gcc - git @@ -81,6 +82,7 @@ requires: debian: # Useful URL: https://github.com/mate-desktop/debian-packages # Useful URL: https://salsa.debian.org/debian-mate-team/mate-utils + - autoconf-archive - clang - clang-tools - cppcheck @@ -106,6 +108,7 @@ requires: fedora: # Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-utils.git + - autoconf-archive - clang - clang-analyzer - cppcheck-htmlreport @@ -129,6 +132,7 @@ requires: - yelp-tools ubuntu: + - autoconf-archive - clang - clang-tools - g++ @@ -176,9 +180,20 @@ before_scripts: - fi # disable pt language for help in search tool - sed -i s/"IGNORE_HELP_LINGUAS ="/"IGNORE_HELP_LINGUAS = pt"/g gsearchtool/help/Makefile.am + - cd ${START_DIR} + - '[ -f mate-common-1.23.1.tar.xz ] || curl -Ls -o mate-common-1.23.1.tar.xz http://pub.mate-desktop.org/releases/1.23/mate-common-1.23.1.tar.xz' + - tar xf mate-common-1.23.1.tar.xz + - cd mate-common-1.23.1 + - 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 -- cgit v1.2.1