Skip to content

Commit 2fb29e6

Browse files
author
raveit65
committed
add Travic-CI support
1 parent 191213b commit 2fb29e6

File tree

1 file changed

+80
-0
lines changed

1 file changed

+80
-0
lines changed

.travis.yml

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

0 commit comments

Comments
 (0)