Skip to content

Commit 84e7fac

Browse files
author
raveit65
committed
add Travis-CI support
1 parent 3b2edc9 commit 84e7fac

File tree

1 file changed

+103
-0
lines changed

1 file changed

+103
-0
lines changed

.travis.yml

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
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 -Ls -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+
- sudo apt-get install -y python3-pip python3-setuptools
14+
- sudo pip3 install --upgrade pip
15+
- sudo pip install PyGithub
16+
- ./docker-build --name ${DISTRO} --config .travis.yml --install
17+
18+
script:
19+
- ./docker-build --name ${DISTRO} --verbose --config .travis.yml --build autotools
20+
21+
env:
22+
- DISTRO="archlinux/base"
23+
- DISTRO="debian:sid"
24+
- DISTRO="fedora:29"
25+
- DISTRO="ubuntu:18.10"
26+
27+
##########################################################
28+
# THE FOLLOWING LINES IS USED BY docker-build
29+
##########################################################
30+
requires:
31+
archlinux:
32+
# Useful URL: https://git.archlinux.org/svntogit/community.git/tree/caja-extensions
33+
- caja
34+
- dbus-glib
35+
- gcc
36+
- git
37+
- gupnp
38+
- imagemagick
39+
- intltool
40+
- make
41+
- mate-common
42+
- python
43+
- samba
44+
- which
45+
46+
debian:
47+
# Useful URL: https://github.com/mate-desktop/debian-packages
48+
# Useful URL: https://salsa.debian.org/debian-mate-team/caja-extensions
49+
- git
50+
- libcaja-extension-dev
51+
- libdbus-1-dev
52+
- libdbus-glib-1-dev
53+
- libdconf-dev
54+
- libgail-3-dev # for caja build
55+
- libgtk-3-dev
56+
- libgupnp-1.0-dev
57+
- libmate-desktop-dev
58+
- libnotify-dev # for caja build
59+
- libstartup-notification0-dev
60+
- make
61+
- mate-common
62+
- pkg-config
63+
64+
fedora:
65+
# Useful URL: https://src.fedoraproject.org/cgit/rpms/caja-extensions.git
66+
- caja-devel
67+
- dbus-glib-devel
68+
- dbus-glib-devel
69+
- gajim
70+
- gcc
71+
- git
72+
- gtk3-devel
73+
- gupnp-devel
74+
- libSM-devel #for caja build
75+
- libnotify-devel # for caja build
76+
- make
77+
- mate-common
78+
- mate-desktop-devel
79+
- redhat-rpm-config
80+
81+
ubuntu:
82+
- git
83+
- libcaja-extension-dev
84+
- libdbus-1-dev
85+
- libdbus-glib-1-dev
86+
- libdconf-dev
87+
- libgail-3-dev # for caja build
88+
- libgtk-3-dev
89+
- libgupnp-1.0-dev
90+
- libmate-desktop-dev
91+
- libnotify-dev # for caja build
92+
- libstartup-notification0-dev
93+
- make
94+
- mate-common
95+
- pkg-config
96+
97+
variables:
98+
- CFLAGS="-Wall -Werror=format-security"
99+
100+
before_scripts:
101+
102+
after_scripts:
103+
- make distcheck

0 commit comments

Comments
 (0)