From 338cf0257c2fd8a4d404a85a397f2020d4437af6 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Thu, 26 Sep 2019 18:53:32 +0200 Subject: travis: build mate-common from tarball --- .travis.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index dc807c5..be1e799 100644 --- a/.travis.yml +++ b/.travis.yml @@ -156,7 +156,7 @@ build_scripts: - curl -Ls -o debian.sh https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/debian.sh - bash ./debian.sh - fi - - ./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 + 1 )) @@ -167,6 +167,19 @@ build_scripts: - cppcheck --enable=warning,style,performance,portability,information,missingInclude . - fi +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 + after_scripts: - if [ ${DISTRO_NAME} == "fedora" ];then - cppcheck --xml --output-file=cppcheck.xml --enable=warning,style,performance,portability,information,missingInclude . -- cgit v1.2.1