summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-08-12 21:16:10 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2018-08-15 15:50:02 +0200
commit0a39893a4846d42f2e1fad539286692893ddc6a6 (patch)
tree33939d3022ddba6dadba8c94f6c8385718550ac5
parentea1587c6fc57f1765258a634e3968935aeebd88c (diff)
downloadpygobject-ci-gnome-master.tar.gz
ci: build and run tests in the gnome master flatpak runtimeci-gnome-master
Allow failures for now as we don't control it and can't easily react if it breaks.
-rw-r--r--.gitlab-ci.yml7
-rwxr-xr-x.gitlab-ci/test-flatpak.sh6
2 files changed, 13 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5e899b5d..21ce5982 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -116,3 +116,10 @@ xenial-i386-py2:
image: registry.gitlab.gnome.org/gnome/pygobject/old:v2
script:
- bash -x ./.gitlab-ci/test-docker-old.sh
+
+gnome-master:
+ allow_failure: true
+ stage: build_and_test
+ image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
+ script:
+ - xvfb-run -a flatpak run --filesystem=host --share=network --socket=x11 --command=bash org.gnome.Sdk//master -x .gitlab-ci/test-flatpak.sh
diff --git a/.gitlab-ci/test-flatpak.sh b/.gitlab-ci/test-flatpak.sh
new file mode 100755
index 00000000..3e3a9923
--- /dev/null
+++ b/.gitlab-ci/test-flatpak.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+set -e
+
+python3 -m pip install --user pytest
+python3 setup.py test