summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-10-11 13:17:55 +0200
committerraveit65 <[email protected]>2019-10-12 13:36:25 +0200
commitd7992a9f9f1ff51fa24105d623e0936d58dcd988 (patch)
tree06503208d47167ea9d87fc2ab0412b8f40e8dc3c /.travis.yml
parentc3b5e1eee60eb998566b77f4a6c781fcee6877e2 (diff)
downloadmate-screensaver-d7992a9f9f1ff51fa24105d623e0936d58dcd988.tar.bz2
mate-screensaver-d7992a9f9f1ff51fa24105d623e0936d58dcd988.tar.xz
travis: build mate-common from tarball
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml22
1 files changed, 19 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 183c09d..4ad1cbe 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-screensaver
+ - autoconf-archive
- clang
- gcc
- git
@@ -83,6 +84,7 @@ requires:
debian:
# Useful URL: https://github.com/mate-desktop/debian-packages
# Useful URL: https://salsa.debian.org/debian-mate-team/mate-screensaver
+ - autoconf-archive
- clang
- clang-tools
- cppcheck
@@ -115,6 +117,7 @@ requires:
fedora:
# Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-screensaver.git
+ - autoconf-archive
- clang
- clang-analyzer
- cppcheck-htmlreport
@@ -145,6 +148,7 @@ requires:
- xorg-x11-proto-devel
ubuntu:
+ - autoconf-archive
- clang
- clang-tools
- git
@@ -197,7 +201,19 @@ before_scripts:
- 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 from 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
+ # Install mate-menus from git
- cd ${START_DIR}
- if [ ! -d mate-menus-build ]; then
- git clone --depth 1 https://github.com/mate-desktop/mate-menus.git mate-menus-build
@@ -215,8 +231,8 @@ before_scripts:
- 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