From dd4dd364dad747655440b2efda91a47a39d1d1cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 31 Oct 2020 09:43:32 +0200 Subject: [PATCH] ci: Enable cargo's colors in more cases --- .gitlab-ci.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3e79ebd2d..8838aff83 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -49,8 +49,8 @@ stages: # the lockfile - | if command -v cargo; then - cargo generate-lockfile - cargo update + cargo generate-lockfile --color=always + cargo update --color=always fi .debian:10-base: @@ -289,7 +289,7 @@ test nightly all-features: gstreamer-video/sys \ gstreamer-webrtc/sys; \ do \ - cargo test --locked --manifest-path $crate/Cargo.toml; \ + cargo test --locked --color=always --manifest-path $crate/Cargo.toml; \ done test stable sys: @@ -351,7 +351,7 @@ deny: only: - schedules script: - - cargo deny check + - cargo deny --color=always check gir-checks: extends: .img-stable @@ -359,9 +359,9 @@ gir-checks: script: - git clone --depth 1 https://github.com/gtk-rs/checker - cd checker && echo '[workspace]' >> Cargo.toml - - cargo build --locked --release + - cargo build --locked --color=always --release - | - cargo run --release -- \ + cargo run --color=always --release -- \ --gir-file ../Gir_Gst.toml ../gstreamer/ \ --gir-file ../Gir_GstApp.toml ../gstreamer-app \ --gir-file ../Gir_GstAudio.toml ../gstreamer-audio/ \ @@ -393,7 +393,7 @@ outdated: only: - schedules script: - - cargo outdated --root-deps-only --exit-code 1 -v + - cargo outdated --color=always --root-deps-only --exit-code 1 -v pages: extends: .img-stable @@ -402,7 +402,7 @@ pages: - | for crate in gstreamer*; do cd $crate - cargo doc --features --features=dox,embed-lgpl-docs + cargo doc --color=always --features --features=dox,embed-lgpl-docs cd .. done - mv target/doc public/