]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
gitlabci: remove coverage
authorTomas Krizek <tomas.krizek@nic.cz>
Wed, 20 Feb 2019 11:26:14 +0000 (12:26 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Tue, 12 Mar 2019 09:43:33 +0000 (10:43 +0100)
Coverage is currently not supported with the meson build system,
removing from .gitlabci to reduce usunsed code.

.gitlab-ci.yml

index 0fd7c7346c3dfe70f32f4ec8c4cff8714e1a962a..35a8a0f71d2345b5cb6c5478d8aef3c31b4ae232 100644 (file)
@@ -17,12 +17,10 @@ image: $CI_REGISTRY/knot/knot-resolver/ci/debian-buster:knot-$KNOT_VERSION
 stages:
   - build
   - test
-  - coverage
   - extended
   - deploy
 
 # build {{{
-
 .build: &build
   stage: build
   except:
@@ -508,52 +506,7 @@ resperf:iter.udp-asan:
     RESPERF_TEST: resperf.iter.udp
 # }}}
 
-# coverage {{{
-# compute coverage for runs with COVERAGE=1
-coverage:
-  stage: coverage
-  except:
-    - master
-    - branches@knot/knot-resolver-security
-  only:
-    variables:
-      - $COVERAGE == "1"
-  script:
-    - make coverage
-  artifacts:
-    expire_in: '1 week'
-    paths:
-      - coverage
-  coverage: '/lines\.+:\s(\d+.\d+\%)/'
-  dependencies:
-    - build:linux:amd64
-    #- test:linux:amd64
-    #- installcheck:linux:amd64
-    - deckard:linux:amd64
-    - respdiff:iter:udp:linux:amd64
-  tags:
-    - docker
-    - linux
-    - amd64
-# }}}
-
 # deploy {{{
-pages:
-  stage: deploy
-  only:  # publish coverage only for master branch
-    refs:
-      - nightly@knot/knot-resolver
-    variables:
-      - $COVERAGE == "1"
-  dependencies:
-    - coverage
-  script:
-    - mv coverage/ public/
-  artifacts:
-    expire_in: '30 days'
-    paths:
-      - public
-
 pkg:obs:devel:
   stage: deploy
   only: