summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-03-08 15:25:23 +0100
committerraveit65 <[email protected]>2019-03-10 18:10:40 +0100
commit4f2519d6f6bd1ec86a378b3dd8e6ce0d4e599033 (patch)
treefb115ecf879155e667b95f342a142b6915bb1d80
parente28ab03e890824ce1ffe90603e64acc319842ad6 (diff)
downloadmate-menus-4f2519d6f6bd1ec86a378b3dd8e6ce0d4e599033.tar.bz2
mate-menus-4f2519d6f6bd1ec86a378b3dd8e6ce0d4e599033.tar.xz
add Travis-CI support
-rw-r--r--.travis.yml79
1 files changed, 79 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..78e8d88
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,79 @@
+# vim: set ts=2 sts=2 sw=2 expandtab :
+dist: xenial
+sudo: required
+language: bash
+services:
+ - docker
+
+before_install:
+ - curl -Ls -o docker-build https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/docker-build
+ - chmod +x docker-build
+
+install:
+ - sudo apt-get install -y python3-pip python3-setuptools
+ - sudo pip3 install --upgrade pip
+ - sudo pip install PyGithub
+ - ./docker-build --name ${DISTRO} --config .travis.yml --install
+
+script:
+ - ./docker-build --name ${DISTRO} --verbose --config .travis.yml --build autotools
+
+env:
+ - DISTRO="archlinux/base"
+ - DISTRO="debian:sid"
+ - DISTRO="fedora:29"
+ - DISTRO="ubuntu:18.10"
+
+##########################################################
+# THE FOLLOWING LINES IS USED BY docker-build
+##########################################################
+requires:
+ archlinux:
+ # Useful URL: https://git.archlinux.org/svntogit/community.git/tree/mate-menus
+ - gcc
+ - git
+ - glib2
+ - gobject-introspection
+ - intltool
+ - make
+ - mate-common
+ - python2
+ - which
+
+ debian:
+ # Useful URL: https://github.com/mate-desktop/debian-packages
+ # Useful URL: https://salsa.debian.org/debian-mate-team/mate-menus
+ - git
+ - gobject-introspection
+ - intltool
+ - libgirepository1.0-dev
+ - libglib2.0-dev
+ - make
+ - mate-common
+
+ fedora:
+ # Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-menus.git
+ - chrpath
+ - gcc
+ - git
+ - gobject-introspection-devel
+ - make
+ - mate-common
+ - python2-devel
+ - redhat-rpm-config
+
+ ubuntu:
+ - git
+ - gobject-introspection
+ - intltool
+ - libgirepository1.0-dev
+ - libglib2.0-dev
+ - make
+ - mate-common
+
+variables:
+ - CFLAGS="-Wall -Werror=format-security"
+ - PYTHON=python2
+
+after_scripts:
+ - make distcheck