Skip to content

Commit

Permalink
update travis to support archlinux and enable distcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
yetist authored and raveit65 committed Feb 6, 2019
1 parent 91f1dc6 commit 78b7682
Showing 1 changed file with 22 additions and 11 deletions.
33 changes: 22 additions & 11 deletions .travis.yml
Expand Up @@ -5,11 +5,6 @@ language: bash
services:
- docker

# The branch just for test.
#branches:
# only:
# - travis

before_install:
- curl -L -o docker-build https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/docker-build
- chmod +x docker-build
Expand All @@ -21,14 +16,31 @@ script:
- ./docker-build --name ${DISTRO} --verbose --config .travis.yml --build autotools

env:
- DISTRO="debian:buster"
- DISTRO="base/archlinux"
- DISTRO="debian:sid"
- DISTRO="fedora:29"
- DISTRO="ubuntu:18.10"

##########################################################
# THE FOLLOWING LINES IS USED BY docker-build
##########################################################
requires:
archlinux:
# Useful URL: https://git.archlinux.org/svntogit/community.git/tree/caja
- gcc
- git
- make
# Append new requires below
- exempi
- gobject-introspection
- gvfs
- intltool
- libexif
- libnotify
- libsm
- mate-common
- mate-desktop

debian:
# Useful URL: https://github.com/mate-desktop/debian-packages
# Useful URL: https://salsa.debian.org/debian-mate-team/caja
Expand Down Expand Up @@ -101,9 +113,8 @@ requires:
- shared-mime-info

# Uncomment the following lines to get more compile warnings
#variables:
# - CFLAGS="-Wall"
variables:
- CFLAGS="-Wall -Werror=format-security"

# NOTE: `make distcheck` will fail in an environment without X display
#after_scripts:
# - if [ `systemd-detect-virt` != "kvm" -a "$BUILD_TYPE" == "autotools" ]; then make distcheck;fi
after_scripts:
- make distcheck

0 comments on commit 78b7682

Please sign in to comment.