xmpp-rs-mirror/.gitlab-ci.yml

29 lines
700 B
YAML

stages:
- build
variables:
FEATURES: ""
rust-latest:
stage: build
image: rust:latest
script:
- cargo build --verbose --no-default-features --features=$FEATURES
- cargo test --verbose --no-default-features --features=$FEATURES
rust-nightly:
stage: build
image: rustlang/rust:nightly
script:
- cargo build --verbose --no-default-features --features=$FEATURES
- cargo test --verbose --no-default-features --features=$FEATURES
"rust-latest with features=disable-validation":
extends: rust-latest
variables:
FEATURES: "disable-validation"
"rust-nightly with features=disable-validation":
extends: rust-nightly
variables:
FEATURES: "disable-validation"