diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 17 |
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 |