forked from mirrors/gstreamer-rs
Run stable clippy in gitlab CI again and also build all features on stable
Now that futures are stable in 1.36 we can do that again.
This commit is contained in:
parent
f84e94db78
commit
27f0d86068
1 changed files with 5 additions and 3 deletions
|
@ -49,7 +49,7 @@ stages:
|
||||||
- G_DEBUG=fatal_warnings cargo test --color=always --all
|
- G_DEBUG=fatal_warnings cargo test --color=always --all
|
||||||
|
|
||||||
- |
|
- |
|
||||||
if [ -n "$NIGHTLY" ]; then
|
if [ -n "$ALL_FEATURES" ]; then
|
||||||
cargo build --color=always --all --all-features
|
cargo build --color=always --all --all-features
|
||||||
G_DEBUG=fatal_warnings cargo test --color=always --all --all-features
|
G_DEBUG=fatal_warnings cargo test --color=always --all --all-features
|
||||||
fi
|
fi
|
||||||
|
@ -64,6 +64,8 @@ test stable:
|
||||||
# Stable img
|
# Stable img
|
||||||
# https://hub.docker.com/_/rust/
|
# https://hub.docker.com/_/rust/
|
||||||
image: "rust:slim"
|
image: "rust:slim"
|
||||||
|
variables:
|
||||||
|
ALL_FEATURES: 'yes'
|
||||||
extends: '.cargo test'
|
extends: '.cargo test'
|
||||||
|
|
||||||
test nightly:
|
test nightly:
|
||||||
|
@ -72,7 +74,7 @@ test nightly:
|
||||||
image: "rustlang/rust:nightly-slim"
|
image: "rustlang/rust:nightly-slim"
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
variables:
|
variables:
|
||||||
NIGHTLY: 'yes'
|
ALL_FEATURES: 'yes'
|
||||||
extends: '.cargo test'
|
extends: '.cargo test'
|
||||||
|
|
||||||
rustfmt:
|
rustfmt:
|
||||||
|
@ -85,7 +87,7 @@ rustfmt:
|
||||||
|
|
||||||
clippy:
|
clippy:
|
||||||
extends: '.tarball_setup'
|
extends: '.tarball_setup'
|
||||||
image: "rustlang/rust:nightly-slim"
|
image: "rust:slim"
|
||||||
stage: 'extras'
|
stage: 'extras'
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Reference in a new issue