1
0
mirror of https://gitlab.com/xmpp-rs/xmpp-rs.git synced 2024-07-03 20:00:36 +02:00
xmpp-rs/.gitlab-ci.yml
Maxime “pep” Buquet 82be62678a
CI: refactor .gitlab-ci.yml
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 02:25:23 +02:00

44 lines
567 B
YAML

stages:
- build
- test
variables:
FEATURES: ""
.stable:
image: rust:latest
.nightly:
image: rustlang/rust:nightly
.build:
stage: build
script:
- cargo build --verbose --no-default-features --features=$FEATURES
.test:
stage: test
script:
- cargo test --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