Add other interesting pipeline stages
This commit is contained in:
parent
0e23ed73e6
commit
f5b4d7edcd
|
|
@ -2,6 +2,8 @@ image: rust:latest
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
CARGO_TARGET_DIR: target
|
CARGO_TARGET_DIR: target
|
||||||
|
# --all-features
|
||||||
|
CURRENT_FEATURES: --features v2018_9
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- echo deb http://ftp.debian.org/debian stretch-backports main > /etc/apt/sources.list.d/backports.list
|
- echo deb http://ftp.debian.org/debian stretch-backports main > /etc/apt/sources.list.d/backports.list
|
||||||
|
|
@ -16,13 +18,13 @@ stages:
|
||||||
ostree-sys:
|
ostree-sys:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- cargo test --verbose --manifest-path sys/Cargo.toml --features "v2018_9" #--all-features
|
- cargo test --verbose --manifest-path sys/Cargo.toml ${CURRENT_FEATURES}
|
||||||
|
|
||||||
ostree-sys_nightly:
|
ostree-sys_nightly:
|
||||||
stage: build
|
stage: build
|
||||||
image: rustlang/rust:nightly
|
image: rustlang/rust:nightly
|
||||||
script:
|
script:
|
||||||
- cargo test --verbose --manifest-path sys/Cargo.toml --features "v2018_9" #--all-features
|
- cargo test --verbose --manifest-path sys/Cargo.toml ${CURRENT_FEATURES}
|
||||||
|
|
||||||
publish_ostree-sys:
|
publish_ostree-sys:
|
||||||
stage: publish
|
stage: publish
|
||||||
|
|
@ -34,13 +36,24 @@ publish_ostree-sys:
|
||||||
ostree:
|
ostree:
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- cargo test --verbose --features "v2018_9" #--all-features
|
- cargo test --verbose ${CURRENT_FEATURES}
|
||||||
|
|
||||||
|
ostree_default_features:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- cargo test --verbose
|
||||||
|
|
||||||
|
ostree_all_features:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- cargo test --verbose --all-features
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
ostree_nightly:
|
ostree_nightly:
|
||||||
stage: build
|
stage: build
|
||||||
image: rustlang/rust:nightly
|
image: rustlang/rust:nightly
|
||||||
script:
|
script:
|
||||||
- cargo test --verbose --features "v2018_9" #--all-features
|
- cargo test --verbose ${CURRENT_FEATURES}
|
||||||
|
|
||||||
publish_ostree:
|
publish_ostree:
|
||||||
stage: publish
|
stage: publish
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue