ci: Enable cargo's colors in more cases

This commit is contained in:
Sebastian Dröge 2020-10-31 09:43:32 +02:00
parent 67f5c0767a
commit dd4dd364da

View file

@ -49,8 +49,8 @@ stages:
# the lockfile # the lockfile
- | - |
if command -v cargo; then if command -v cargo; then
cargo generate-lockfile cargo generate-lockfile --color=always
cargo update cargo update --color=always
fi fi
.debian:10-base: .debian:10-base:
@ -289,7 +289,7 @@ test nightly all-features:
gstreamer-video/sys \ gstreamer-video/sys \
gstreamer-webrtc/sys; \ gstreamer-webrtc/sys; \
do \ do \
cargo test --locked --manifest-path $crate/Cargo.toml; \ cargo test --locked --color=always --manifest-path $crate/Cargo.toml; \
done done
test stable sys: test stable sys:
@ -351,7 +351,7 @@ deny:
only: only:
- schedules - schedules
script: script:
- cargo deny check - cargo deny --color=always check
gir-checks: gir-checks:
extends: .img-stable extends: .img-stable
@ -359,9 +359,9 @@ gir-checks:
script: script:
- git clone --depth 1 https://github.com/gtk-rs/checker - git clone --depth 1 https://github.com/gtk-rs/checker
- cd checker && echo '[workspace]' >> Cargo.toml - 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_Gst.toml ../gstreamer/ \
--gir-file ../Gir_GstApp.toml ../gstreamer-app \ --gir-file ../Gir_GstApp.toml ../gstreamer-app \
--gir-file ../Gir_GstAudio.toml ../gstreamer-audio/ \ --gir-file ../Gir_GstAudio.toml ../gstreamer-audio/ \
@ -393,7 +393,7 @@ outdated:
only: only:
- schedules - schedules
script: script:
- cargo outdated --root-deps-only --exit-code 1 -v - cargo outdated --color=always --root-deps-only --exit-code 1 -v
pages: pages:
extends: .img-stable extends: .img-stable
@ -402,7 +402,7 @@ pages:
- | - |
for crate in gstreamer*; do for crate in gstreamer*; do
cd $crate cd $crate
cargo doc --features --features=dox,embed-lgpl-docs cargo doc --color=always --features --features=dox,embed-lgpl-docs
cd .. cd ..
done done
- mv target/doc public/ - mv target/doc public/