Use a working CI script, and test on both stable and nightly.
This commit is contained in:
parent
fa0894daa0
commit
9c8da4a063
1 changed files with 14 additions and 4 deletions
|
@ -1,6 +1,16 @@
|
|||
image: "pitkley/rust:stable"
|
||||
stages:
|
||||
- build
|
||||
|
||||
test:cargo:
|
||||
rust-latest:
|
||||
stage: build
|
||||
image: rust:latest
|
||||
script:
|
||||
- rustc --version && cargo --version
|
||||
- cargo test --verbose --jobs 1 --release
|
||||
- cargo build --verbose
|
||||
- cargo test --verbose
|
||||
|
||||
rust-nightly:
|
||||
stage: build
|
||||
image: rustlang/rust:nightly
|
||||
script:
|
||||
- cargo build --verbose
|
||||
- cargo test --verbose
|
||||
|
|
Loading…
Reference in a new issue