xmpp-rs/.gitlab-ci.yml

30 lines
700 B
YAML
Raw Normal View History

2018-12-20 15:56:15 +00:00
stages:
- build
variables:
FEATURES: ""
2018-12-20 15:56:15 +00:00
rust-latest:
stage: build
image: rust:latest
script:
- cargo build --verbose --no-default-features --features=$FEATURES
- cargo test --verbose --no-default-features --features=$FEATURES
2018-12-20 15:56:15 +00:00
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"