summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2020-04-02 13:10:53 +0200
committerraveit65 <[email protected]>2020-04-02 14:06:49 +0200
commitd93891c076d50cabdb26e171a4033d0d76ddab6a (patch)
tree90aeadbeb73fa13816f6f58559db2a2f60ea04cb
parentbe7fbd2526f3c0c72769cdcd31ad5ac810e49e9f (diff)
downloadmate-desktop-d93891c076d50cabdb26e171a4033d0d76ddab6a.tar.bz2
mate-desktop-d93891c076d50cabdb26e171a4033d0d76ddab6a.tar.xz
Travis CI: build with mate-common-1.24.1 tarball
add missing requires autoconf-archive (fedora)
-rw-r--r--.build.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
index 4feef58..804ca53 100644
--- a/.build.yml
+++ b/.build.yml
@@ -45,6 +45,7 @@ requires:
fedora:
# Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-desktop.git
+ - autoconf-archive
- cairo-gobject-devel
- clang-analyzer
- clang
@@ -103,6 +104,19 @@ variables:
-enable-checker alpha.core.FixedAddr
-enable-checker security.insecureAPI.strcpy"'
+before_scripts:
+ - cd ${START_DIR}
+ - '[ -f mate-common-1.24.1.tar.xz ] || curl -Ls -o mate-common-1.24.1.tar.xz https://github.com/mate-desktop/mate-common/releases/download/v1.24.1/mate-common-1.24.1.tar.xz'
+ - tar xf mate-common-1.24.1.tar.xz
+ - cd mate-common-1.24.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
- scan-build $CHECKERS ./configure --prefix=/usr --enable-gtk-doc