Skip to content

Commit 60bbb51

Browse files
yetistraveit65
authored andcommitted
Initialize Travis CI support
1 parent 05e1e93 commit 60bbb51

1 file changed

Lines changed: 84 additions & 0 deletions

File tree

.travis.yml

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
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://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=caja-dropbox
39+
- caja
40+
- gcc
41+
- git
42+
- glib2
43+
- make
44+
- mate-common
45+
- python-docutils
46+
- python-gobject
47+
- which
48+
49+
debian:
50+
# Useful URL: https://github.com/mate-desktop/debian-packages
51+
# Useful URL: https://salsa.debian.org/debian-mate-team/caja-dropbox
52+
- git
53+
- libcaja-extension-dev
54+
- libglib2.0-dev
55+
- make
56+
- mate-common
57+
- python3-docutils
58+
- python3-gi
59+
60+
fedora:
61+
# Useful URL: https://src.fedoraproject.org/cgit/rpms/caja-dropbox.git
62+
- gcc
63+
- git
64+
- make
65+
- redhat-rpm-config
66+
- caja-devel
67+
- python3-docutils
68+
- python3-gobject
69+
- mate-common
70+
71+
ubuntu:
72+
- git
73+
- libcaja-extension-dev
74+
- libglib2.0-dev
75+
- make
76+
- mate-common
77+
- python3-docutils
78+
- python3-gi
79+
80+
variables:
81+
- CFLAGS="-Wall -Werror=format-security"
82+
83+
after_scripts:
84+
- make distcheck

0 commit comments

Comments
 (0)