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

41 lines
880 B
YAML
Raw Normal View History

2018-12-20 15:56:15 +00:00
stages:
- build
- test
2018-12-20 15:56:15 +00:00
variables:
FEATURES: ""
rust-latest-build:
2018-12-20 15:56:15 +00:00
stage: build
image: rust:latest
script:
- cargo build --verbose --no-default-features --features=$FEATURES
2018-12-20 15:56:15 +00:00
rust-nightly-build:
2018-12-20 15:56:15 +00:00
stage: build
image: rustlang/rust:nightly
script:
- cargo build --verbose --no-default-features --features=$FEATURES
rust-latest-test:
stage: test
image: rust:latest
script:
2019-01-13 11:00:36 +00:00
- 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
2019-01-13 11:00:36 +00:00
"rust-latest-test with features=disable-validation":
extends: rust-latest-test
variables:
FEATURES: "disable-validation"
2019-01-13 11:00:36 +00:00
"rust-nightly-test with features=disable-validation":
extends: rust-nightly-test
variables:
FEATURES: "disable-validation"