[nautilus/wip/oholy/ci: 25/29] ci: Remove dead code



commit f0f84b0e2f8e257f4ac64732e51d4c014b34fd64
Author: Ondrej Holy <oholy redhat com>
Date:   Fri Mar 6 11:40:43 2020 +0100

    ci: Remove dead code
    
    .gtilab-ci.yml contains dead code which is not currently used. Let's
    remove that code to make it more readable.

 .gitlab-ci.yml | 52 ----------------------------------------------------
 1 file changed, 52 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d14aff880..0206908f6 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
@@ -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


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