summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-09-26 18:53:32 +0200
committerraveit65 <[email protected]>2019-09-30 21:19:42 +0200
commit338cf0257c2fd8a4d404a85a397f2020d4437af6 (patch)
treeb31ddbe942641d0e76fd080482ea291eabe992f4 /.travis.yml
parent04657b8f6ef57fe5f6b620dbfe6db8b9a097ad9b (diff)
downloadengrampa-338cf0257c2fd8a4d404a85a397f2020d4437af6.tar.bz2
engrampa-338cf0257c2fd8a4d404a85a397f2020d4437af6.tar.xz
travis: build mate-common from tarball
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml15
1 files changed, 14 insertions, 1 deletions
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 .