Skip to content

Commit a89ecee

Browse files
yetistraveit65
authored andcommitted
initial travis ci
1 parent 712ee59 commit a89ecee

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

.travis.yml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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/mate-common
33+
- autoconf
34+
- automake
35+
- gcc
36+
- git
37+
- make
38+
39+
debian:
40+
# Useful URL: https://github.com/mate-desktop/debian-packages
41+
# Useful URL: https://salsa.debian.org/debian-mate-team/mate-common
42+
- autoconf
43+
- git
44+
- make
45+
- xz-utils
46+
47+
fedora:
48+
# Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-common.git
49+
- autoconf
50+
- automake
51+
- gcc
52+
- git
53+
- make
54+
- redhat-rpm-config
55+
56+
ubuntu:
57+
- autoconf
58+
- git
59+
- make
60+
- xz-utils
61+
62+
variables:
63+
- CFLAGS="-Wall -Werror=format-security"
64+
65+
after_scripts:
66+
- make distcheck

0 commit comments

Comments
 (0)