[gjs: 1/2] CI: clean up GitLab yaml file
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs: 1/2] CI: clean up GitLab yaml file
- Date: Mon, 26 Feb 2018 08:16:06 +0000 (UTC)
commit 6ce9d1a40ff29cb56b9de5a5882837e00d18b374
Author: Claudio André <claudioandre br gmail com>
Date: Sun Feb 25 22:57:18 2018 -0300
CI: clean up GitLab yaml file
Remove unneeded stuff and rename the documentation coverage stage.
.gitlab-ci.yml | 29 ++---------------------------
1 file changed, 2 insertions(+), 27 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c9703fa..896b094 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,8 +5,7 @@ stages:
- static_analysis
- build
- thorough_tests
-- failure
-- deploy
+- docs
.build: &build
when: on_success
@@ -43,8 +42,6 @@ ubuntu_gcc:
stage: build
image: claudioandre/spidermonkey:ubuntu.dev.gcc
variables:
- BASE: debian
- OS: ubuntu.dev.gcc
CC: gcc
DEV: devel
BUILD_OPTS: "--enable-installed-tests"
@@ -56,8 +53,6 @@ ubuntu_clang:
stage: build
image: claudioandre/spidermonkey:ubuntu.dev.gcc
variables:
- BASE: debian
- OS: ubuntu.dev.gcc
CC: clang
DEV: devel
BUILD_OPTS: "--enable-installed-tests"
@@ -69,8 +64,6 @@ fedora_gcc:
stage: build
image: claudioandre/spidermonkey:fedora.dev.gcc
variables:
- BASE: fedora
- OS: fedora.dev.gcc
CC: gcc
DEV: devel
BUILD_OPTS: "--enable-ubsan"
@@ -80,8 +73,6 @@ fedora_clang:
stage: build
image: claudioandre/spidermonkey:job-342.4 # temporarily pinned to old tag
variables:
- BASE: fedora
- OS: fedora.dev.gcc
CC: clang
DEV: devel
BUILD_OPTS: "--enable-ubsan"
@@ -94,8 +85,6 @@ coverage:
stage: thorough_tests
image: claudioandre/spidermonkey:fedora.27.gcc
variables:
- BASE: fedora
- OS: fedora.27.gcc
CC: gcc
BUILD_OPTS: "--enable-code-coverage"
coverage: '/^Lines:.\d+.\d+.(\d+\.\d+\%)/'
@@ -107,25 +96,11 @@ cppcheck:
stage: static_analysis
image: claudioandre/spidermonkey:fedora.dev.gcc
variables:
- BASE: fedora
- OS: fedora.dev.gcc
CODECHECK: "CPPCHECK"
-# Failure routine
-on_failure:
- stage: failure
- script:
- - echo '-- FAILURE --'
- - 'if [[ -f $(pwd)/.cache/jhbuild/build/gjs/test-suite.log ]]; then
- cat $(pwd)/.cache/jhbuild/build/gjs/test-suite.log;
- else
- echo "-- NO LOG FILE FOUND --";
- fi'
- when: on_failure
-
# Publish Code Coverage Report
pages:
- stage: deploy
+ stage: docs
dependencies:
- coverage
script:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]