gitlab-ci: Use extends to reduce size of script
authorOlivier Crête <olivier.crete@collabora.com>
Wed, 31 Jul 2019 19:45:16 +0000 (15:45 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Wed, 31 Jul 2019 20:09:45 +0000 (16:09 -0400)
.gitlab-ci.yml

index 00cab6d..44e2ed2 100644 (file)
@@ -91,21 +91,11 @@ test meson:
 
 
 test valgrind meson:
-  stage: test
-  image: registry.freedesktop.org/libnice/libnice/centos7/meson-build
-  allow_failure: true
-  dependencies:
-    - build meson
-  except:
-    - schedules
+  extends: test meson
   script:
     - ifconfig
     - source scl_source enable rh-python36 && true
     - meson test -C build/ --setup valgrind --print-errorlogs
-  artifacts:
-    when: on_failure
-    paths:
-      - build/meson-logs/
 
 
 doc-and-install meson: