aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-05-03 16:32:22 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-05-03 16:40:06 +0200
commit2511a4690daa44d8a14b27e2a23916e9c63a4497 (patch)
tree4ee3cbd122e11f2dc672570ae458419371285cde /.travis.yml
parente776da37178aa63fe48b9c08ec74acbb4de4c5ad (diff)
downloadayatana-indicator-power-2511a4690daa44d8a14b27e2a23916e9c63a4497.tar.gz
ayatana-indicator-power-2511a4690daa44d8a14b27e2a23916e9c63a4497.tar.bz2
ayatana-indicator-power-2511a4690daa44d8a14b27e2a23916e9c63a4497.zip
Travis CI: Initial draft for CI builds.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml43
1 files changed, 43 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..2efd2f4
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,43 @@
+# vim: set ts=2 sts=2 sw=2 expandtab :
+dist: bionic
+language: shell
+os: linux
+
+arch:
+ - amd64
+ - ppc64le
+
+services:
+ - docker
+
+addons:
+ apt:
+ packages:
+ - python3-pip
+ - python3-setuptools
+
+before_install:
+ # let's use the MATE project's docker build script...
+ - curl -Ls -o docker-build https://github.com/AyatanaIndicators/ayatana-dev-scripts/raw/master/travis/docker-build
+ - chmod +x docker-build
+
+install:
+ - pip3 install wheel
+ - pip3 install PyGithub
+ - ./docker-build --name ${DISTRO} --config .build.yml --install
+
+script:
+ - ./docker-build --name ${DISTRO} --verbose --config .build.yml --build scripts --build autotools
+
+env:
+# temp disable of archlinux builds, see https://gitlab.archlinux.org/archlinux/archlinux-docker/-/issues/56
+# - DISTRO="archlinux:latest"
+ - DISTRO="debian:testing"
+ - DISTRO="debian:stable"
+# - DISTRO="ubuntu:rolling"
+ - DISTRO="ubuntu:focal"
+
+jobs:
+ exclude:
+ - env: DISTRO="archlinux:latest"
+ arch: ppc64le