diff options
author | raveit65 <[email protected]> | 2019-09-27 10:10:48 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-10-01 11:28:59 +0200 |
commit | 5d782c3f6c11d0a49c595eb5dc547eab867c47a8 (patch) | |
tree | 24205b4d7e8ad07aa7e899baa1f26edfe8bfce25 | |
parent | ea2ce187004a42c26d22701f6212e1698052f24c (diff) | |
download | mate-utils-5d782c3f6c11d0a49c595eb5dc547eab867c47a8.tar.bz2 mate-utils-5d782c3f6c11d0a49c595eb5dc547eab867c47a8.tar.xz |
travis (ci): use --enable-compile-warnings=maximum
- build mate-common from tarball
-rw-r--r-- | .travis.yml | 17 |
1 files changed, 16 insertions, 1 deletions
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 |