[gnome-shell/wip/fmuellner/ci-test: 3/3] ci: Add test stage



commit 6be53b45027879698c2baf9c87a8456d7a60e34b
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Feb 12 22:39:47 2019 +0100

    ci: Add test stage

 .gitlab-ci.yml | 13 +++++++++++++
 1 file changed, 13 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2be3bce8f..5abb8b090 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,7 @@
 stages:
  - source_check
  - build
+ - test
 
 variables:
     JS_LOG: "js-report.txt"
@@ -44,3 +45,15 @@ build:
         - meson . build -Dbuiltype=debugoptimized
         - ninja -C build
         - ninja -C build install
+    artifacts:
+        expire_in: 1 day
+        paths:
+            - build
+
+test:
+    image: registry.gitlab.gnome.org/gnome/mutter/master:v1
+    stage: test
+    dependencies:
+        - build
+    script:
+        - ninja -C build test


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