Skip to content

Commit 78b7682

Browse files
yetistraveit65
authored andcommitted
update travis to support archlinux and enable distcheck
1 parent 91f1dc6 commit 78b7682

File tree

1 file changed

+22
-11
lines changed

1 file changed

+22
-11
lines changed

‎.travis.yml‎

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

8-
# The branch just 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/master/travis/docker-build
1510
- chmod +x docker-build
@@ -21,14 +16,31 @@ script:
2116
- ./docker-build --name ${DISTRO} --verbose --config .travis.yml --build autotools
2217

2318
env:
24-
- DISTRO="debian:buster"
19+
- DISTRO="base/archlinux"
20+
- DISTRO="debian:sid"
2521
- DISTRO="fedora:29"
2622
- DISTRO="ubuntu:18.10"
2723

2824
##########################################################
2925
# THE FOLLOWING LINES IS USED BY docker-build
3026
##########################################################
3127
requires:
28+
archlinux:
29+
# Useful URL: https://git.archlinux.org/svntogit/community.git/tree/caja
30+
- gcc
31+
- git
32+
- make
33+
# Append new requires below
34+
- exempi
35+
- gobject-introspection
36+
- gvfs
37+
- intltool
38+
- libexif
39+
- libnotify
40+
- libsm
41+
- mate-common
42+
- mate-desktop
43+
3244
debian:
3345
# Useful URL: https://github.com/mate-desktop/debian-packages
3446
# Useful URL: https://salsa.debian.org/debian-mate-team/caja
@@ -101,9 +113,8 @@ requires:
101113
- shared-mime-info
102114

103115
# Uncomment the following lines to get more compile warnings
104-
#variables:
105-
# - CFLAGS="-Wall"
116+
variables:
117+
- CFLAGS="-Wall -Werror=format-security"
106118

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

0 commit comments

Comments
 (0)