xmpp-rs/.gitlab-ci.yml
Maxime “pep” Buquet eba25e4acc
CI: Use recent rust image, split build/test stages
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2019-09-13 02:00:52 +02:00

30 lines
618 B
YAML

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