Skip to content

Commit b3ed723

Browse files
author
raveit65
committed
Initialize Travis CI support
1 parent d30504d commit b3ed723

File tree

1 file changed

+103
-0
lines changed

1 file changed

+103
-0
lines changed

.travis.yml

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
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-terminal
39+
- gcc
40+
- git
41+
- intltool
42+
- libsm
43+
- make
44+
- mate-common
45+
- mate-desktop
46+
- vte3
47+
- which
48+
- yelp-tools
49+
50+
debian:
51+
# Useful URL: https://github.com/mate-desktop/debian-packages
52+
# Useful URL: https://salsa.debian.org/debian-mate-team/mate-terminal
53+
- git
54+
- intltool
55+
- intltool
56+
- libdconf-dev
57+
- libglib2.0-dev
58+
- libgtk-3-dev
59+
- libsm-dev
60+
- libvte-2.91-dev
61+
- libx11-dev
62+
- make
63+
- mate-common
64+
- yelp-tools
65+
66+
fedora:
67+
# Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-terminal.git
68+
- gcc
69+
- dconf-devel
70+
- desktop-file-utils
71+
- git
72+
- gtk3-devel
73+
- libSM-devel
74+
- make
75+
- mate-common
76+
- redhat-rpm-config
77+
- vte291-devel
78+
79+
ubuntu:
80+
- git
81+
- intltool
82+
- intltool
83+
- libdconf-dev
84+
- libglib2.0-dev
85+
- libgtk-3-dev
86+
- libsm-dev
87+
- libvte-2.91-dev
88+
- libx11-dev
89+
- make
90+
- mate-common
91+
- yelp-tools
92+
93+
variables:
94+
- CFLAGS="-Wall -Werror=format-security"
95+
96+
before_scripts:
97+
- if [ ${DISTRO_NAME} == "debian" ];then
98+
- curl -Ls -o debian.sh https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/debian.sh
99+
- bash ./debian.sh
100+
- fi
101+
102+
after_scripts:
103+
- make distcheck

0 commit comments

Comments
 (0)