Skip to content

Commit cdf9782

Browse files
author
raveit65
committed
add Travis-CI support
1 parent 2e6a3f2 commit cdf9782

File tree

1 file changed

+81
-0
lines changed

1 file changed

+81
-0
lines changed

.travis.yml

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

0 commit comments

Comments
 (0)