[libsoup/wip/ci] Separate script in stages and print test log on failure
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/wip/ci] Separate script in stages and print test log on failure
- Date: Mon, 13 Aug 2018 14:07:56 +0000 (UTC)
commit 3fe984125aaf84677ae2186120c5f3f02d5672ad
Author: Claudio Saavedra <csaavedra igalia com>
Date: Mon Aug 13 14:06:12 2018 +0000
Separate script in stages and print test log on failure
.gitlab-ci.yml | 21 ++++++++++++++++++---
1 file changed, 18 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 228b9292..a167c9eb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,9 +1,15 @@
image: fedora:28
+stages:
+ - build
+ - test
+ - cleanup
+
variables:
ADDITIONAL_DEPENDENCIES: which gtk-doc libpsl-devel make httpd php mod_ssl redhat-rpm-config
-build_stable:
+build_job:
+ stage: build
before_script:
- dnf update -y --nogpgcheck
- dnf install -y 'dnf-command(builddep)'
@@ -12,5 +18,14 @@ build_stable:
script:
- ./autogen.sh
- make
- - make check
- - cat tests/test-suite.org
+
+test_job:
+ stage: test
+ script:
+ - make test
+
+cleanup_job:
+ stage: cleanup
+ script:
+ - cat tests/test-suite.log
+ when: on_failure
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]