summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-09-27 12:38:26 +0200
committerraveit65 <[email protected]>2019-09-30 22:01:49 +0200
commit1c381a61f3dbe9c42945cbd5ca73832d0b7cfe25 (patch)
treed28aa187c360883bc6bc2d580bce915b6e7e2e1d
parenteff1d3b138c8a6990fa388e3cc2eb9a9760abf14 (diff)
downloadmate-power-manager-1c381a61f3dbe9c42945cbd5ca73832d0b7cfe25.tar.bz2
mate-power-manager-1c381a61f3dbe9c42945cbd5ca73832d0b7cfe25.tar.xz
travis (ci): use --enable-compile-warnings=maximum
- build mate-common from tarball
-rw-r--r--.travis.yml17
1 files changed, 15 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 18e5cf6..39f206d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -181,12 +181,25 @@ variables:
-enable-checker alpha.core.FixedAddr
-enable-checker security.insecureAPI.strcpy"'
+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
+
build_scripts:
- if [ ${DISTRO_NAME} == "debian" -o ${DISTRO_NAME} == "ubuntu" ];then
- - ./autogen.sh --without-keyring
+ - ./autogen.sh --without-keyring --enable-compile-warnings=maximum
- scan-build $CHECKERS ./configure --without-keyring
- else
- - ./autogen.sh
+ - ./autogen.sh --enable-compile-warnings=maximum
- scan-build $CHECKERS ./configure
- fi
- if [ $CPU_COUNT -gt 1 ]; then