summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-02-07 18:11:35 +0800
committerraveit65 <[email protected]>2019-02-08 23:38:05 +0100
commit009ff2ab215772c4a6b0526983323851ef56dbb1 (patch)
treeac779bf31c600793d42efcbafde6e30adbdc5a31 /.travis.yml
parent66ce9675219bcbf95c8dd1f21c14ef8fab47e0eb (diff)
downloadmate-desktop-009ff2ab215772c4a6b0526983323851ef56dbb1.tar.bz2
mate-desktop-009ff2ab215772c4a6b0526983323851ef56dbb1.tar.xz
use archlinux/base image
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml14
1 files changed, 4 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml
index 63ff515..79e419e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,13 +5,8 @@ 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
+ - curl -Ls -o docker-build https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/docker-build
- chmod +x docker-build
install:
@@ -21,7 +16,7 @@ script:
- ./docker-build --name ${DISTRO} --verbose --config .travis.yml --build autotools
env:
- - DISTRO="base/archlinux"
+ - DISTRO="archlinux/base"
- DISTRO="debian:sid"
- DISTRO="fedora:29"
- DISTRO="ubuntu:18.10"
@@ -41,6 +36,7 @@ requires:
- make
- mate-common
- startup-notification
+ - which
debian:
# Useful URL: https://github.com/mate-desktop/debian-packages
@@ -106,6 +102,4 @@ configures:
- --enable-gtk-doc
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