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

30 lines
652 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=compat":
extends: rust-latest
variables:
FEATURES: "compat"
"rust-nightly with features=compat":
extends: rust-nightly
variables:
FEATURES: "compat"