xmpp-rs-mirror/jid-rs/.gitlab-ci.yml
Maxime “pep” Buquet 5a6a1d7c97
Prepare for merge: Move all jid-rs files into jid-rs/
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-10-18 14:23:21 +02:00

62 lines
917 B
YAML

stages:
- build
- test
variables:
FEATURES: ""
RUST_BACKTRACE: "full"
.stable:
image: rust:latest
cache:
key: stable
paths:
- target/
.nightly:
image: rustlang/rust:nightly
cache:
key: nightly
paths:
- target/
.build:
stage: build
script:
- cargo build --verbose --no-default-features --features=$FEATURES
.test:
stage: test
script:
- cargo test --lib --verbose --no-default-features --features=$FEATURES
rust-latest-build:
extends:
- .build
- .stable
rust-nightly-build:
extends:
- .build
- .nightly
rust-latest-test:
extends:
- .test
- .stable
rust-nightly-test:
extends:
- .test
- .nightly
rust-latest-build with features=minidom:
extends: rust-latest-build
variables:
FEATURES: "minidom"
rust-latest-test with features=minidom:
extends: rust-latest-test
variables:
FEATURES: "minidom"