Skip to content

Commit 41797c0

Browse files
author
raveit65
committed
add Travis-CI support
1 parent eb5f43d commit 41797c0

File tree

1 file changed

+107
-0
lines changed

1 file changed

+107
-0
lines changed

.travis.yml

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
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/trunk?h=packages/mate-desktop
33+
- gcc
34+
- git
35+
- gobject-introspection
36+
- gtk3
37+
- intltool
38+
- iso-codes
39+
- make
40+
- mate-common
41+
- startup-notification
42+
- which
43+
44+
debian:
45+
# Useful URL: https://github.com/mate-desktop/debian-packages
46+
# Useful URL: https://salsa.debian.org/debian-mate-team/mate-desktop
47+
- git
48+
- gobject-introspection
49+
- gtk-doc-tools
50+
- intltool
51+
- iso-codes
52+
- libdconf-dev
53+
- libgirepository1.0-dev
54+
- libglib2.0-dev
55+
- libglib2.0-doc
56+
- libgtk-3-dev
57+
- libgtk-3-doc
58+
- libstartup-notification0-dev
59+
- libx11-dev
60+
- libxml2-dev
61+
- libxrandr-dev
62+
- mate-common
63+
64+
fedora:
65+
# Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-desktop.git
66+
- cairo-gobject-devel
67+
- dconf-devel
68+
- desktop-file-utils
69+
- gcc
70+
- git
71+
- gobject-introspection-devel
72+
- gtk3-devel
73+
- iso-codes-devel
74+
- itstool
75+
- make
76+
- mate-common
77+
- redhat-rpm-config
78+
- startup-notification-devel
79+
80+
ubuntu:
81+
- git
82+
- gobject-introspection
83+
- gtk-doc-tools
84+
- intltool
85+
- iso-codes
86+
- libdconf-dev
87+
- libgirepository1.0-dev
88+
- libglib2.0-dev
89+
- libglib2.0-doc
90+
- libgtk-3-dev
91+
- libgtk-3-doc
92+
- libstartup-notification0-dev
93+
- libx11-dev
94+
- libxml2-dev
95+
- libxrandr-dev
96+
- mate-common
97+
98+
variables:
99+
- CFLAGS="-Wall -Werror=format-security"
100+
101+
configures:
102+
autotools:
103+
- --prefix=/usr
104+
- --enable-gtk-doc
105+
106+
after_scripts:
107+
- make distcheck

0 commit comments

Comments
 (0)