CI: Import .gitlab-ci.yml from xmpp-rs
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
5aee776f66
commit
7a0ba4f39d
2 changed files with 51 additions and 8 deletions
|
|
@ -1,10 +1,52 @@
|
||||||
image: "pitkley/rust:nightly"
|
stages:
|
||||||
|
- build
|
||||||
|
- test
|
||||||
|
|
||||||
before_script:
|
variables:
|
||||||
- apt-get update -yqq
|
FEATURES: ""
|
||||||
- apt-get install -yqq --no-install-recommends build-essential
|
RUST_BACKTRACE: "full"
|
||||||
|
|
||||||
test:cargo:
|
.stable:
|
||||||
|
image: rust:latest
|
||||||
|
cache:
|
||||||
|
key: stable
|
||||||
|
paths:
|
||||||
|
- target/
|
||||||
|
|
||||||
|
.nightly:
|
||||||
|
image: rustlang/rust:nightly
|
||||||
|
cache:
|
||||||
|
key: nightly
|
||||||
|
paths:
|
||||||
|
- target/
|
||||||
|
|
||||||
|
.build:
|
||||||
|
stage: build
|
||||||
script:
|
script:
|
||||||
- rustc --version && cargo --version
|
- cargo build --verbose --no-default-features --features=$FEATURES
|
||||||
- cargo test --verbose --jobs 1 --release
|
|
||||||
|
.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
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,12 @@
|
||||||
Version XXX, released YYY:
|
Version XXX, released YYY:
|
||||||
* Changes
|
* Changes
|
||||||
* Update edition to 2018
|
* Update edition to 2018
|
||||||
|
* Fixes
|
||||||
|
* Update old CI configuration with newer Rust images
|
||||||
Version 0.11.1, released 2019-09-06:
|
Version 0.11.1, released 2019-09-06:
|
||||||
* Changes
|
* Changes
|
||||||
* Update to quick-xml 0.16
|
* Update to quick-xml 0.16
|
||||||
* Add a default "comments" feature to transform comments into errors when unset.
|
* Add a default "comments" feature to transform comments into errors when unset.
|
||||||
* Remove the mostly-unused failure dependency, to dramatically reduce compilation times.
|
|
||||||
Version 0.11.0, released 2019-06-14:
|
Version 0.11.0, released 2019-06-14:
|
||||||
* Breaking
|
* Breaking
|
||||||
* Get rid of IntoElements, replace with `Into<Node>` and `<T: Into<Node> IntoIterator<Item = T>>`
|
* Get rid of IntoElements, replace with `Into<Node>` and `<T: Into<Node> IntoIterator<Item = T>>`
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue