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