summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJordan Petridis <jordanpetridis@protonmail.com>2018-03-21 08:25:08 +0200
committerJordan Petridis <jordanpetridis@protonmail.com>2018-03-22 05:12:54 +0200
commit215e0f62919bec6bae15e05605e559e4ed89ee31 (patch)
tree248d16ded739d8a6cd5719ffe119ca10a7ff1ac4 /.gitlab-ci.yml
parentb5eb9b14806bd2b4a5cd9dd57633b6d970fff059 (diff)
downloadnautilus-215e0f62919bec6bae15e05605e559e4ed89ee31.tar.gz
gitlabci: use xvfb and enable all the tests
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9105a9a98..26091de22 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,16 +15,18 @@ flatpak:master:
image: registry.gitlab.com/alatiera/gnome-nightly-oci/gnome-master:latest
stage: test
script:
+ - dnf install -y xorg-x11-server-Xvfb
+
- flatpak-builder --stop-at=nautilus app build-aux/flatpak/org.gnome.Nautilus.json
# Make sure to keep this in sync with the Flatpak manifest, all arguments
# are passed except the config-args because we build it ourselves
- - flatpak build app meson --prefix=/app --libdir=/app/lib -Dprofile=development _build
+ - flatpak build app meson --prefix=/app --libdir=/app/lib -Dprofile=development -Dtests=all _build
- flatpak build app ninja -C _build install
- flatpak-builder --finish-only --repo=repo app build-aux/flatpak/org.gnome.Nautilus.json
# Make a Flatpak Nautilus bundle for people to test
- flatpak build-bundle repo nautilus-dev.flatpak --runtime-repo=https://sdk.gnome.org/gnome-nightly.flatpakrepo org.gnome.NautilusDevel
# Run automatic tests inside the Flatpak env
- - flatpak build app ninja -C _build test
+ - xvfb-run -a -s "-screen 0 1024x768x24" flatpak build app ninja -C _build test
artifacts:
paths:
- nautilus-dev.flatpak