Add .gitlab-ci.yml

This commit is contained in:
Florian Ströger 2019-01-15 07:51:13 +00:00
parent 25b0246d82
commit 0d56e75b94

19
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,19 @@
stages:
- build-flatpak
flatpak:master:
image: registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:master
stage: build-flatpak
script:
- flatpak-builder --stop-at=popcorntime app sh.popcorntime.PopcornTime.yml
- flatpak-builder --finish-only --repo=repo app sh.popcorntime.PopcornTime.yml
- flatpak build-bundle repo PopcornTime.flatpak --runtime-repo=https://dl.flathub.org/repo/flathub.flatpakrepo sh.popcorntime.PopcornTime
artifacts:
paths:
- PopcornTime.flatpak
expire_in: 2 days
cache:
paths:
- .flatpak-builder/cache