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

44 lines
567 B
YAML
Raw Normal View History

stages:
- build
- test
2017-02-19 20:50:56 +00:00
variables:
FEATURES: ""
2017-02-19 20:50:56 +00:00
.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