Skip to content

Commit 37844ff

Browse files
author
raveit65
committed
add Travis-CI support
1 parent 60b14e3 commit 37844ff

File tree

1 file changed

+90
-0
lines changed

1 file changed

+90
-0
lines changed

.travis.yml

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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/mate-backgrounds
33+
- gcc
34+
- git
35+
- gtk3
36+
- libfakekey
37+
- libwnck3
38+
- make
39+
- mate-common
40+
- mate-panel
41+
- which
42+
43+
debian:
44+
# Useful URL: https://github.com/mate-desktop/debian-packages
45+
# Useful URL: https://salsa.debian.org/debian-mate-team/mate-backgrounds
46+
- git
47+
- libdconf-dev
48+
- libfakekey-dev
49+
- libgtk-3-dev
50+
- libmate-panel-applet-dev
51+
- libwnck-3-dev
52+
- make
53+
- mate-common
54+
- yelp-tools
55+
56+
fedora:
57+
# Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-backgrounds.git
58+
- gcc
59+
- desktop-file-utils
60+
- git
61+
- gtk3-devel
62+
- libfakekey-devel
63+
- libwnck3-devel
64+
- make
65+
- mate-common
66+
- mate-panel-devel
67+
- redhat-rpm-config
68+
69+
ubuntu:
70+
- git
71+
- libdconf-dev
72+
- libfakekey-dev
73+
- libgtk-3-dev
74+
- libmate-panel-applet-dev
75+
- libwnck-3-dev
76+
- make
77+
- mate-common
78+
- yelp-tools
79+
80+
variables:
81+
- CFLAGS="-Wall -Werror=format-security"
82+
83+
before_scripts:
84+
- if [ ${DISTRO_NAME} == "debian" ];then
85+
- curl -Ls -o debian.sh https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/debian.sh
86+
- bash ./debian.sh
87+
- fi
88+
89+
after_scripts:
90+
- make distcheck

0 commit comments

Comments
 (0)