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

63 lines
915 B
YAML
Raw Normal View History

stages:
- build
- test
2017-02-19 20:02:28 +00:00
variables:
FEATURES: ""
RUST_BACKTRACE: "full"
2017-05-27 21:37:37 +00:00
.stable:
image: rust:latest
cache:
key: stable
paths:
- target/
.nightly:
image: rustlang/rust:nightly
cache:
key: nightly
paths:
- target/
.build:
stage: build
2017-02-19 20:02:28 +00:00
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
rust-latest-build with features=comments:
extends: rust-latest-build
variables:
FEATURES: "comments"
rust-latest-test with features=comments:
extends: rust-latest-test
variables:
FEATURES: "comments"