File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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-backgrounds
39+ - gcc
40+ - git
41+ - make
42+ - mate-common
43+ - which
44+
45+ debian :
46+ # Useful URL: https://github.com/mate-desktop/debian-packages
47+ # Useful URL: https://salsa.debian.org/debian-mate-team/mate-backgrounds
48+ - git
49+ - libglib2.0-dev
50+ - make
51+ - mate-common
52+
53+ fedora :
54+ # Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-backgrounds.git
55+ - gcc
56+ - git
57+ - make
58+ - mate-common
59+ - redhat-rpm-config
60+
61+ ubuntu :
62+ - git
63+ - libglib2.0-dev
64+ - make
65+ - mate-common
66+
67+ variables :
68+ - CFLAGS="-Wall -Werror=format-security"
69+
70+ before_scripts :
71+ - if [ ${DISTRO_NAME} == "debian" ];then
72+ - curl -Ls -o debian.sh https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/debian.sh
73+ - bash ./debian.sh
74+ - fi
75+
76+ after_scripts :
77+ - make distcheck
You can’t perform that action at this time.
0 commit comments