Skip to content

Commit 5919cb0

Browse files
yetistraveit65
authored andcommitted
fixed make distcheck on debian
1 parent 5081e8f commit 5919cb0

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

‎.travis.yml‎

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -134,19 +134,22 @@ configures:
134134

135135
before_scripts:
136136
# These scripts should keep silent.
137+
- if [ ${DISTRO_NAME} == "debian" ];then
138+
- curl -Ls -o debian.sh https://github.com/mate-desktop/mate-dev-scripts/raw/os-fix/travis/debian.sh
139+
- bash ./debian.sh
140+
- fi
141+
137142
- cd ${START_DIR}
138143
- '[ -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'
139144
- tar xf mate-desktop-1.21.2.tar.xz
140145
- cd mate-desktop-1.21.2
141146
- if [ ${DISTRO_NAME} == "debian" -o ${DISTRO_NAME} == "ubuntu" ];then
142-
- ./configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/x86_64-linux-gnu >/dev/null 2>&1
147+
- ./configure --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/x86_64-linux-gnu
143148
- else
144-
- ./configure --prefix=/usr >/dev/null 2>&1
149+
- ./configure --prefix=/usr
145150
- fi
146-
- make > /dev/null 2>&1
147-
- make install >/dev/null 2>&1
151+
- make
152+
- make install
148153

149154
after_scripts:
150-
- make distcheck > /dev/null
151-
# It will fail on debian, so it always returns 0, but can see the error message.
152-
- 'if [ $? -ne 0 ];then RED="\033[0;31m"; NC="\033[0m"; printf "${RED}!!! ERROR: Run make distcheck failed.${NC}\n"; fi'
155+
- make distcheck

0 commit comments

Comments
 (0)