aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-06-11 14:32:42 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-06-11 14:32:42 +0200
commit28218030cf48c2a577755c01208fae5f4abe57a4 (patch)
tree9dd1298175dc4ff920c9a0c3a58484d7c37d4645 /.travis.yml
parentc6aa8ad5a37e4070387c32b684e5174612a03163 (diff)
parent32525f1769d07260102de6b483641bb106ffbd26 (diff)
downloadremote-logon-service-28218030cf48c2a577755c01208fae5f4abe57a4.tar.gz
remote-logon-service-28218030cf48c2a577755c01208fae5f4abe57a4.tar.bz2
remote-logon-service-28218030cf48c2a577755c01208fae5f4abe57a4.zip
Merge branch 'sunweaver-pr/travis-ci'
Attributes GH PR #3: https://github.com/ArcticaProject/remote-logon-service/pull/3
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..6ebac89
--- /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 Ayatana Indicators 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