Skip to content

Commit 14fce6f

Browse files
yetistraveit65
authored andcommitted
Test the new docker-build
1 parent 15e3a68 commit 14fce6f

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

‎.travis.yml‎

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ language: bash
55
services:
66
- docker
77

8-
# Use travis branch for test.
9-
#branches:
10-
# only:
11-
# - travis
12-
138
before_install:
149
- curl -L -o docker-build https://github.com/mate-desktop/mate-dev-scripts/raw/travis/travis/docker-build
1510
- chmod +x docker-build
@@ -137,19 +132,22 @@ variables:
137132

138133
before_scripts:
139134
- cd ${START_DIR}
140-
- if [ ! -d mate-menus-build ]; then git clone --depth 1 https://github.com/mate-desktop/mate-menus.git mate-menus-build;fi
135+
- if [ ! -d mate-menus-build ]; then
136+
- git clone --depth 1 https://github.com/mate-desktop/mate-menus.git mate-menus-build
137+
- fi
141138
- cd mate-menus-build
142-
- ./autogen.sh
143139
- if [ ${DISTRO_NAME} == "debian" -o ${DISTRO_NAME} == "ubuntu" ];then
144-
- ./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/x86_64-linux-gnu > /dev/null 2>&1
140+
- ./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/x86_64-linux-gnu
145141
- else
146-
- ./autogen.sh --prefix=/usr > /dev/null 2>&1
142+
- ./autogen.sh --prefix=/usr
143+
- fi
144+
- if [ ${TRAVIS} == "false" ]; then
145+
- make clean
147146
- fi
148-
- if [ ${TRAVIS} == "false" ]; then make clean; fi
149-
- make > /dev/null 2>&1
150-
- make install > /dev/null 2>&1
147+
- make
148+
- make install
151149

152150
after_scripts:
153-
- make distcheck > /dev/null
151+
- make distcheck
154152
# Just look at the error output and return 0 always.
155-
- 'if [ $? -ne 0 ];then RED="\033[0;31m"; NC="\033[0m"; printf "${RED}!!! ERROR: Run make distcheck failed.${NC}\n"; fi'
153+
- 'if [ $? -ne 0 ];then RED="\033[0;31m"; ENDC="\033[0m"; printf "${RED}!!! ERROR: Run make distcheck failed.${ENDC}\n"; fi'

0 commit comments

Comments
 (0)