Skip to content
Permalink
Browse files

Test the new docker-build

  • Loading branch information...
yetist authored and raveit65 committed Feb 6, 2019
1 parent 15e3a68 commit 14fce6f47cebae7c21b0a5f4d62409e047027187
Showing with 12 additions and 14 deletions.
  1. +12 −14 .travis.yml
@@ -5,11 +5,6 @@ language: bash
services:
- docker

# Use travis branch for test.
#branches:
# only:
# - travis

before_install:
- curl -L -o docker-build https://github.com/mate-desktop/mate-dev-scripts/raw/travis/travis/docker-build
- chmod +x docker-build
@@ -137,19 +132,22 @@ variables:

before_scripts:
- cd ${START_DIR}
- if [ ! -d mate-menus-build ]; then git clone --depth 1 https://github.com/mate-desktop/mate-menus.git mate-menus-build;fi
- if [ ! -d mate-menus-build ]; then
- git clone --depth 1 https://github.com/mate-desktop/mate-menus.git mate-menus-build
- fi
- cd mate-menus-build
- ./autogen.sh
- if [ ${DISTRO_NAME} == "debian" -o ${DISTRO_NAME} == "ubuntu" ];then
- ./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/x86_64-linux-gnu > /dev/null 2>&1
- ./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu --libexecdir=/usr/lib/x86_64-linux-gnu
- else
- ./autogen.sh --prefix=/usr > /dev/null 2>&1
- ./autogen.sh --prefix=/usr
- fi
- if [ ${TRAVIS} == "false" ]; then
- make clean
- fi
- if [ ${TRAVIS} == "false" ]; then make clean; fi
- make > /dev/null 2>&1
- make install > /dev/null 2>&1
- make
- make install

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

0 comments on commit 14fce6f

Please sign in to comment.
You can’t perform that action at this time.