summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-02-13 10:27:46 +0800
committerraveit65 <[email protected]>2019-02-13 21:23:16 +0100
commit5919cb0ab354ec7d220694bca2cace402a56b7ef (patch)
treea4514a97dc8465bc29b03c9fd57a2e4ed4e7eec4 /.travis.yml
parent5081e8fe29b58d16ac141cd1d8d8b8f304514395 (diff)
downloadmate-settings-daemon-5919cb0ab354ec7d220694bca2cace402a56b7ef.tar.bz2
mate-settings-daemon-5919cb0ab354ec7d220694bca2cace402a56b7ef.tar.xz
fixed make distcheck on debian
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml17
1 files changed, 10 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index 468d1b7..4de3b31 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -134,19 +134,22 @@ configures:
before_scripts:
# These scripts should keep silent.
+ - if [ ${DISTRO_NAME} == "debian" ];then
+ - curl -Ls -o debian.sh https://github.com/mate-desktop/mate-dev-scripts/raw/os-fix/travis/debian.sh
+ - bash ./debian.sh
+ - fi
+
- cd ${START_DIR}
- '[ -f mate-desktop-1.21.2.tar.xz ] || curl -Ls -o mate-desktop-1.21.2.tar.xz http://pub.mate-desktop.org/releases/1.21/mate-desktop-1.21.2.tar.xz'
- tar xf mate-desktop-1.21.2.tar.xz
- cd mate-desktop-1.21.2
- 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 >/dev/null 2>&1
+ - ./configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/x86_64-linux-gnu
- else
- - ./configure --prefix=/usr >/dev/null 2>&1
+ - ./configure --prefix=/usr
- fi
- - make > /dev/null 2>&1
- - make install >/dev/null 2>&1
+ - make
+ - make install
after_scripts:
- - make distcheck > /dev/null
- # It will fail on debian, so it always returns 0, but can see the error message.
- - 'if [ $? -ne 0 ];then RED="\033[0;31m"; NC="\033[0m"; printf "${RED}!!! ERROR: Run make distcheck failed.${NC}\n"; fi'
+ - make distcheck