Skip to content

Commit 3e72529

Browse files
author
raveit65
committed
Initialize Travis CI support
1 parent ac4348f commit 3e72529

File tree

1 file changed

+83
-0
lines changed

1 file changed

+83
-0
lines changed

.travis.yml

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
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+
# Trigger only on the travis branch
9+
# Remove the lines if every thing is ok.
10+
branches:
11+
only:
12+
- travis
13+
14+
before_install:
15+
- curl -Ls -o docker-build https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/docker-build
16+
- chmod +x docker-build
17+
18+
install:
19+
- sudo apt-get install -y python3-pip python3-setuptools
20+
- sudo pip3 install --upgrade pip
21+
- sudo pip install PyGithub
22+
- ./docker-build --name ${DISTRO} --config .travis.yml --install
23+
24+
script:
25+
- ./docker-build --name ${DISTRO} --verbose --config .travis.yml --build autotools
26+
27+
env:
28+
- DISTRO="archlinux/base"
29+
- DISTRO="debian:sid"
30+
- DISTRO="fedora:29"
31+
- DISTRO="ubuntu:18.10"
32+
33+
##########################################################
34+
# THE FOLLOWING LINES IS USED BY docker-build
35+
##########################################################
36+
requires:
37+
archlinux:
38+
# Useful URL: https://git.archlinux.org/svntogit/community.git/tree/mate-icon-theme
39+
- gcc
40+
- git
41+
- icon-naming-utils
42+
- make
43+
- mate-common
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/mate-icon-theme
49+
- git
50+
- icon-naming-utils
51+
- intltool
52+
- librsvg2-bin
53+
- make
54+
- mate-common
55+
56+
fedora:
57+
# Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-icon-theme.git
58+
- gcc
59+
- git
60+
- icon-naming-utils
61+
- make
62+
- mate-common
63+
- redhat-rpm-config
64+
65+
ubuntu:
66+
- git
67+
- icon-naming-utils
68+
- intltool
69+
- librsvg2-bin
70+
- make
71+
- mate-common
72+
73+
variables:
74+
- CFLAGS="-Wall -Werror=format-security"
75+
76+
before_scripts:
77+
- if [ ${DISTRO_NAME} == "debian" ];then
78+
- curl -Ls -o debian.sh https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/debian.sh
79+
- bash ./debian.sh
80+
- fi
81+
82+
after_scripts:
83+
- make distcheck

0 commit comments

Comments
 (0)