diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2020-03-19 12:39:52 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2020-03-19 12:43:13 +0300 |
commit | cd2957679d18f3d589ee5ef29693df8caace593a (patch) | |
tree | 6a42d74f589281ba66e25e3ed719d38172b4b7e4 /.gitlab-ci.yml | |
parent | dcf2befe52c417e8fe687b75ae3ef06a5f3345a2 (diff) |
Don't include gst-ci template
It disables all our other tests apparently.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 02561aec8..9ea36df33 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: |