[gnome-calculator/wip/3v1n0/ci-tests: 10/10] gitlab-ci: also build snap package



commit 1cb3c207d2b27daf71538843d2d37419f1af21b0
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Tue Sep 11 08:26:39 2018 -0500

    gitlab-ci: also build snap package

 .gitlab-ci.yml | 12 ++++++++++++
 1 file changed, 12 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3e02e5cf..53397fc7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -31,6 +31,18 @@ build:ubuntu:
   <<: *ubuntu_before_script
   <<: *meson_build
 
+build:snap:
+  stage: build
+  image: snapcore/snapcraft
+  before_script:
+    - apt-get install -q -y --no-install-recommends software-properties-common
+    - add-apt-repository -yu ppa:ubuntu-desktop/gnome-3-26
+  script: snapcraft
+  allow_failure: true
+  artifacts:
+    paths: ['./*.snap']
+    expire_in: 3 days
+
 test:ubuntu:
   dependencies:
     - build:ubuntu


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]