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



commit bec1f28b26b9de21cec3791fac2056e2728446f8
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]