Browse Source

travis: build on opensuse

bboozzoo/dbus-support
Maciek Borzecki 8 years ago
parent
commit
9602f5a238
2 changed files with 25 additions and 0 deletions
  1. +1
    -0
      .travis.yml
  2. +24
    -0
      extra/travis-build

+ 1
- 0
.travis.yml View File

@ -5,6 +5,7 @@ env:
matrix: matrix:
- DISTRO=fedora - DISTRO=fedora
- DISTRO=archlinux - DISTRO=archlinux
- DISTRO=opensuse
script: script:
- ./extra/travis-build "${DISTRO}" - ./extra/travis-build "${DISTRO}"

+ 24
- 0
extra/travis-build View File

@ -42,6 +42,24 @@ deps_fedora() {
gtk3-devel 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() { deps_archlinux() {
pacman -Syu --noconfirm \ pacman -Syu --noconfirm \
base-devel \ base-devel \
@ -66,6 +84,9 @@ install_deps() {
fedora) fedora)
deps_fedora deps_fedora
;; ;;
opensuse)
deps_opensuse
;;
archlinux) archlinux)
deps_archlinux deps_archlinux
;; ;;
@ -97,6 +118,9 @@ spin_container() {
archlinux) archlinux)
DOCKER_IMG=base/archlinux DOCKER_IMG=base/archlinux
;; ;;
opensuse)
DOCKER_IMG=opensuse:tumbleweed
;;
*) *)
echo "unsupported distro $1" echo "unsupported distro $1"
exit 1 exit 1


Loading…
Cancel
Save