summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-10-10 20:28:04 +0200
committerraveit65 <[email protected]>2019-10-11 17:09:43 +0200
commita4054692c35b5e1ed584177de94baa1aca80886d (patch)
tree3009738c033b882e4bcc3a5fc87b24b493dbf705
parent1f714672693f637f81ac55cf4f4618c74d10e229 (diff)
downloadmate-notification-daemon-a4054692c35b5e1ed584177de94baa1aca80886d.tar.bz2
mate-notification-daemon-a4054692c35b5e1ed584177de94baa1aca80886d.tar.xz
travis: build mate-common from tarball
-rw-r--r--.travis.yml27
1 files changed, 25 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index c5663e8..c524122 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-notification-daemon
+ - autoconf-archive
- clang
- gcc
- git
@@ -78,6 +79,7 @@ requires:
debian:
# Useful URL: https://github.com/mate-desktop/debian-packages
# Useful URL: https://salsa.debian.org/debian-mate-team/mate-notification-daemon
+ - autoconf-archive
- clang
- clang-tools
- cppcheck
@@ -107,6 +109,7 @@ requires:
fedora:
# Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-notification-daemon.git
+ - autoconf-archive
- clang
- clang-analyzer
- cppcheck-htmlreport
@@ -121,6 +124,7 @@ requires:
- mate-desktop-devel
ubuntu:
+ - autoconf-archive
- clang
- clang-tools
- git
@@ -165,9 +169,28 @@ variables:
-enable-checker alpha.core.FixedAddr
-enable-checker security.insecureAPI.strcpy"'
+before_scripts:
+ # Debian - patch intltool-update
+ - if [ ${DISTRO_NAME} == "debian" ];then
+ - curl -Ls -o debian.sh https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/debian.sh
+ - bash ./debian.sh
+ - fi
+ # Install mate-common fron tarball
+ - 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
- - scan-build $CHECKERS ./configure
+ - ./autogen.sh --enable-compile-warnings=maximum
+ - scan-build $CHECKERS ./configure --enable-compile-warnings=maximum
- if [ $CPU_COUNT -gt 1 ]; then
- scan-build $CHECKERS --keep-cc -o html-report make -j $CPU_COUNT
- else