Skip to content

Commit 7c03832

Browse files
author
raveit65
committed
add Travis-CI support
1 parent 3f49c53 commit 7c03832

File tree

1 file changed

+92
-0
lines changed

1 file changed

+92
-0
lines changed

.travis.yml

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

0 commit comments

Comments
 (0)