aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2021-05-11 13:12:08 +0200
committerRobert Tari <robert@tari.in>2021-05-11 13:12:08 +0200
commit83110ae59c57054976ebdaee5bd18356d96dbbd4 (patch)
treed4ab1865de2760a67c4c07ec93f1ddc0a8784916 /.travis.yml
parent6d3a2b8d6b4ad6ad9d83310f6e088f30550f9bc8 (diff)
parent967736310e878d31c414188e3f19058f576bec0b (diff)
downloadayatana-indicator-datetime-83110ae59c57054976ebdaee5bd18356d96dbbd4.tar.gz
ayatana-indicator-datetime-83110ae59c57054976ebdaee5bd18356d96dbbd4.tar.bz2
ayatana-indicator-datetime-83110ae59c57054976ebdaee5bd18356d96dbbd4.zip
Merge branch 'sunweaver-pr/travis-ci'
Attributes GH PR #33: https://github.com/AyatanaIndicators/ayatana-indicator-datetime/pull/33
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..85ee12c
--- /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
+
+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