Skip to content

Commit f68afd7

Browse files
yetistraveit65
authored andcommitted
Initialize Travis CI support
1 parent 96f9b79 commit f68afd7

File tree

1 file changed

+147
-0
lines changed

1 file changed

+147
-0
lines changed

.travis.yml

Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
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/atril
39+
- caja
40+
- djvulibre
41+
- gcc
42+
- git
43+
- gobject-introspection
44+
- intltool
45+
- itstool
46+
- libgxps
47+
- make
48+
- mate-common
49+
- poppler-glib
50+
- texlive-bin
51+
- webkit2gtk
52+
- which
53+
- yelp-tools
54+
55+
debian:
56+
# Useful URL: https://github.com/mate-desktop/debian-packages
57+
# Useful URL: https://salsa.debian.org/debian-mate-team/atril
58+
- git
59+
- gobject-introspection
60+
- intltool
61+
- libcaja-extension-dev
62+
- libdjvulibre-dev
63+
- libgail-3-dev
64+
- libgirepository1.0-dev
65+
- libglib2.0-dev
66+
- libgtk-3-dev
67+
- libgxps-dev
68+
- libkpathsea-dev
69+
- libpoppler-glib-dev
70+
- libsecret-1-dev
71+
- libsm-dev
72+
- libspectre-dev
73+
- libtiff-dev
74+
- libwebkit2gtk-4.0-dev
75+
- libx11-dev
76+
- libxml2-dev
77+
- lsb-release
78+
- make
79+
- mate-common
80+
- xsltproc
81+
- yelp-tools
82+
- zlib1g-dev
83+
84+
fedora:
85+
# Useful URL: https://src.fedoraproject.org/cgit/rpms/atril.git
86+
- cairo-gobject-devel
87+
- caja-devel
88+
- desktop-file-utils
89+
- djvulibre-devel
90+
- gcc
91+
- gcc-c++
92+
- git
93+
- gobject-introspection-devel
94+
- gtk3-devel
95+
- libXt-devel
96+
- libglade2-devel
97+
- libgxps-devel
98+
- libjpeg-turbo-devel
99+
- libsecret-devel
100+
- libspectre-devel
101+
- libtiff-devel
102+
- make
103+
- mate-common
104+
- poppler-glib-devel
105+
- redhat-rpm-config
106+
- texlive-lib-devel
107+
- webkitgtk4-devel
108+
- yelp-tools
109+
110+
ubuntu:
111+
- git
112+
- gobject-introspection
113+
- intltool
114+
- libcaja-extension-dev
115+
- libdjvulibre-dev
116+
- libgail-3-dev
117+
- libgirepository1.0-dev
118+
- libglib2.0-dev
119+
- libgtk-3-dev
120+
- libgxps-dev
121+
- libkpathsea-dev
122+
- libpoppler-glib-dev
123+
- libsecret-1-dev
124+
- libsm-dev
125+
- libspectre-dev
126+
- libtiff-dev
127+
- libwebkit2gtk-4.0-dev
128+
- libx11-dev
129+
- libxml2-dev
130+
- lsb-release
131+
- make
132+
- mate-common
133+
- xsltproc
134+
- yelp-tools
135+
- zlib1g-dev
136+
137+
variables:
138+
- CFLAGS="-Wall -Werror=format-security"
139+
140+
before_scripts:
141+
- if [ ${DISTRO_NAME} == "debian" ];then
142+
- curl -Ls -o debian.sh https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/debian.sh
143+
- bash ./debian.sh
144+
- fi
145+
146+
after_scripts:
147+
- make distcheck

0 commit comments

Comments
 (0)