summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2019-01-26 14:51:52 +0100
committerraveit65 <[email protected]>2019-01-26 18:45:24 +0100
commitbe2d132356e71266b7e387401a8014e77c1451e9 (patch)
treea58db9b129e13a922988357b7efc827e58bb0236
parent7f070a41f05f1430c23e77ea694825537c7ccb5e (diff)
downloadmate-notification-daemon-be2d132356e71266b7e387401a8014e77c1451e9.tar.bz2
mate-notification-daemon-be2d132356e71266b7e387401a8014e77c1451e9.tar.xz
initial travis-CI support
-rw-r--r--.docker.json48
-rw-r--r--.travis.yml18
2 files changed, 66 insertions, 0 deletions
diff --git a/.docker.json b/.docker.json
new file mode 100644
index 0000000..02aecf6
--- /dev/null
+++ b/.docker.json
@@ -0,0 +1,48 @@
+{
+ "requires" : {
+ "archlinux" : [
+ "gcc",
+ "git",
+ "gtk3",
+ "intltool",
+ "libnotify",
+ "libwnck3",
+ "make",
+ "mate-common"
+ ],
+ "fedora" : [
+ "desktop-file-utils",
+ "git",
+ "libcanberra-devel",
+ "libnotify-devel",
+ "libwnck3-devel",
+ "mate-common",
+ "mate-desktop-devel"
+ ],
+ "ubuntu" : [
+ "git",
+ "gobject-introspection",
+ "gtk-doc-tools",
+ "intltool",
+ "libcanberra-gtk3-dev",
+ "libdconf-dev",
+ "libexempi-dev",
+ "libexif-dev",
+ "libgail-3-dev",
+ "libgirepository1.0-dev",
+ "libglib2.0-dev",
+ "libgtk-3-dev",
+ "libmate-desktop-dev",
+ "libnotify-dev",
+ "libpango1.0-dev",
+ "libstartup-notification0-dev",
+ "libwnck-3-dev",
+ "libx11-dev",
+ "libxml2-dev",
+ "mate-common",
+ "quilt",
+ "shared-mime-info"
+ ]
+ },
+ "distcheck" : true
+} \ No newline at end of file
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..ccb05ce
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,18 @@
+sudo: required
+services:
+ - docker
+
+before_install:
+ - curl -L -o docker-build https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/docker-build
+ - chmod +x docker-build
+
+install:
+ - ./docker-build --name ${DISTRO} --verbose --install
+
+script:
+ - ./docker-build --name ${DISTRO} --verbose --build make
+
+env:
+ - DISTRO="base/archlinux"
+ - DISTRO="fedora:29"
+ - DISTRO="ubuntu:18.10" \ No newline at end of file