From 9602f5a2381a27ebabbafc9bf41f174c7640bfba Mon Sep 17 00:00:00 2001 From: Maciek Borzecki Date: Wed, 21 Jun 2017 22:15:43 +0200 Subject: [PATCH] travis: build on opensuse --- .travis.yml | 1 + extra/travis-build | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/.travis.yml b/.travis.yml index 9ec8548..2fbab36 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ env: matrix: - DISTRO=fedora - DISTRO=archlinux + - DISTRO=opensuse script: - ./extra/travis-build "${DISTRO}" diff --git a/extra/travis-build b/extra/travis-build index f95c075..f27c40a 100755 --- a/extra/travis-build +++ b/extra/travis-build @@ -42,6 +42,24 @@ deps_fedora() { gtk3-devel } +deps_opensuse() { + zypper install -y \ + make \ + automake \ + autoconf \ + libtool \ + pkgconfig \ + gcc \ + vala \ + gobject-introspection-devel \ + json-glib-devel \ + libgee-devel \ + openssl-devel \ + libnotify-devel \ + at-spi2-core-devel \ + gtk3-devel +} + deps_archlinux() { pacman -Syu --noconfirm \ base-devel \ @@ -66,6 +84,9 @@ install_deps() { fedora) deps_fedora ;; + opensuse) + deps_opensuse + ;; archlinux) deps_archlinux ;; @@ -97,6 +118,9 @@ spin_container() { archlinux) DOCKER_IMG=base/archlinux ;; + opensuse) + DOCKER_IMG=opensuse:tumbleweed + ;; *) echo "unsupported distro $1" exit 1