summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2020-03-06 11:40:43 +0100
committerAntónio Fernandes <antoniojpfernandes@gmail.com>2020-04-05 16:22:26 +0000
commit0733acc223631834c7e39ea31a508b70a152826d (patch)
treec01c8bb555f0b73198aec4224da7ace570126554
parenta6080913e66dbc8aaef3d7a8330b81c5dba4a2cd (diff)
downloadnautilus-0733acc223631834c7e39ea31a508b70a152826d.tar.gz
ci: Remove dead code
The coverage is not computed since the commit a5a405d, but .gitlab-ci.yml still contains some coverage related code which is not currently used. Let's remove that code to make it more readable.
-rw-r--r--.gitlab-ci.yml54
1 files changed, 1 insertions, 53 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d14aff880..5ca21a29f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,39 +16,6 @@ stages:
- cd _build
- ninja test
-.flatpak_gcovr:
- extends: .flatpak
- after_script:
- # Generate coverage report
- - cd _build
- - flatpak build ../app gcovr
- --html-details
- -o coverage.html
- --print-summary
- --root=.
- --exclude=src/
- --exclude=../data/
- --exclude=../eel/check-program.c
- --exclude=../eel/eel-debug.c
- --exclude=../eel/eel-lib-self-check-functions.c
- --exclude=../eel/eel-self-checks.c
- --exclude=../src/animation/
- --exclude=../src/gtk/
- --exclude=../src/nautilus-lib-self-check-functions.c
- --exclude=../src/nautilus-self-check-functions.c
- --exclude=../subprojects/libgd/
- --exclude=../test/
- coverage: '/^branches:.*\s+(\S+\%).*$/'
- artifacts:
- when: 'always'
- # overwrite the path array of the '.flatpak' job
- paths:
- - "${BUNDLE}"
- - '_build/meson-logs/meson-log.txt'
- - '_build/meson-logs/testlog.txt'
- #- '_build/coverage.html'
- expire_in: 2 days
-
flatpak devel:
extends: '.flatpak'
stage: test
@@ -91,7 +58,7 @@ flatpak master:
dependencies: []
variables:
MANIFEST_PATH: "build-aux/flatpak/org.gnome.NautilusMaster.yml"
- MESON_ARGS: "-Dprofile=Devel -Dtests=all -Db_coverage=true"
+ MESON_ARGS: "-Dprofile=Devel -Dtests=all"
FLATPAK_MODULE: "nautilus"
RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo"
APP_ID: "org.gnome.NautilusDevel"
@@ -101,25 +68,6 @@ flatpak master:
- web
- tags
-.pages:
- stage: deploy
- dependencies:
- - 'flatpak devel'
- script:
- - mkdir public
- - mv _build/coverage.html ${CI_PROJECT_DIR}/public/index.html
- artifacts:
- paths:
- - public
-
- only:
- - master
- except:
- variables:
- # Don't run for translation commits
- - $CI_COMMIT_TITLE =~ /^Update.*translation$/
-
-
triage:
image: ruby:2.4
stage: triage