From cd2957679d18f3d589ee5ef29693df8caace593a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 19 Mar 2020 11:39:52 +0200 Subject: [PATCH] Don't include gst-ci template It disables all our other tests apparently. --- .gitlab-ci.yml | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 02561aec..9ea36df3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,7 @@ -include: "https://gitlab.freedesktop.org/gstreamer/gst-ci/raw/master/gitlab/ci_template.yml" +stages: + - "lint" + - "test" + - "extras" .tarball_setup: variables: @@ -58,9 +61,7 @@ include: "https://gitlab.freedesktop.org/gstreamer/gst-ci/raw/master/gitlab/ci_t .cargo test: extends: '.tarball_setup' - stage: "build" - variables: - GIT_STRATEGY: 'fetch' + stage: "test" script: - rustc --version - cargo build --color=always --all @@ -89,9 +90,7 @@ test nightly: rustfmt: image: "rust:slim-buster" - stage: "preparation" - variables: - GIT_STRATEGY: 'fetch' + stage: "lint" script: - rustup component add rustfmt - cargo fmt --version @@ -100,9 +99,7 @@ rustfmt: clippy: extends: '.tarball_setup' image: "rust:slim-buster" - stage: 'test' - variables: - GIT_STRATEGY: 'fetch' + stage: 'extras' script: - rustup component add clippy-preview - cargo clippy --color=always --all --all-features --all-targets -- -A clippy::redundant_pattern_matching -A clippy::single_match -A clippy::cast_lossless @@ -110,9 +107,7 @@ clippy: audit: extends: '.tarball_setup' image: "rust:slim-buster" - stage: 'test' - variables: - GIT_STRATEGY: 'fetch' + stage: 'extras' only: - schedules script: