Skip to content

Commit e6bfa07

Browse files
author
raveit65
committed
add travis-ci config
1 parent ce8e780 commit e6bfa07

File tree

1 file changed

+121
-0
lines changed

1 file changed

+121
-0
lines changed

‎.travis.yml‎

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
# vim: set ts=2 sts=2 sw=2 expandtab :
2+
dist: xenial
3+
sudo: required
4+
language: bash
5+
services:
6+
- docker
7+
8+
before_install:
9+
- curl -L -o docker-build https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/docker-build
10+
- chmod +x docker-build
11+
12+
install:
13+
- ./docker-build --name ${DISTRO} --config .travis.yml --install
14+
15+
script:
16+
- ./docker-build --name ${DISTRO} --verbose --config .travis.yml --build autotools
17+
18+
env:
19+
- DISTRO="base/archlinux"
20+
- DISTRO="debian:sid"
21+
- DISTRO="fedora:29"
22+
- DISTRO="ubuntu:18.10"
23+
24+
##########################################################
25+
# THE FOLLOWING LINES IS USED BY docker-build
26+
##########################################################
27+
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+
44+
debian:
45+
# Useful URL: https://github.com/mate-desktop/debian-packages
46+
# Useful URL: https://salsa.debian.org/debian-mate-team/caja
47+
- git # Required to generate the ChangeLog file
48+
- gobject-introspection
49+
- gtk-doc-tools
50+
- intltool
51+
- libdconf-dev
52+
- libexempi-dev
53+
- libexif-dev
54+
- libgail-3-dev
55+
- libgirepository1.0-dev
56+
- libglib2.0-dev
57+
- libgtk-3-dev
58+
- libmate-desktop-dev
59+
- libnotify-dev
60+
- libpango1.0-dev
61+
- libselinux1-dev
62+
- libstartup-notification0-dev
63+
- libx11-dev
64+
- libxml2-dev
65+
- mate-common
66+
- quilt
67+
- shared-mime-info
68+
69+
fedora:
70+
# Useful URL: https://src.fedoraproject.org/cgit/rpms/caja.git/
71+
- git # Required to generate the ChangeLog file
72+
- gcc
73+
- make
74+
- redhat-rpm-config
75+
# The above packages is installed by 'dnf groupinstall build'
76+
- dbus-glib-devel
77+
- desktop-file-utils
78+
- exempi-devel
79+
- gobject-introspection-devel
80+
- cairo-gobject-devel
81+
- libexif-devel
82+
- libselinux-devel
83+
- libSM-devel
84+
- libxml2-devel
85+
- mate-common
86+
- mate-desktop-devel
87+
- pangox-compat-devel
88+
- startup-notification-devel
89+
- libnotify-devel
90+
91+
ubuntu:
92+
# Same as debian
93+
- git # Required to generate the ChangeLog file
94+
- gobject-introspection
95+
- gtk-doc-tools
96+
- intltool
97+
- libdconf-dev
98+
- libexempi-dev
99+
- libexif-dev
100+
- libgail-3-dev
101+
- libgirepository1.0-dev
102+
- libglib2.0-dev
103+
- libgtk-3-dev
104+
- libmate-desktop-dev
105+
- libnotify-dev
106+
- libpango1.0-dev
107+
- libselinux1-dev
108+
- libstartup-notification0-dev
109+
- libx11-dev
110+
- libxml2-dev
111+
- mate-common
112+
- quilt
113+
- shared-mime-info
114+
115+
# Uncomment the following lines to get more compile warnings
116+
variables:
117+
- CFLAGS="-Wall -Werror=format-security"
118+
119+
after_scripts:
120+
- make distcheck
121+
- '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)