Use a working CI script, and test on both stable and nightly.

This commit is contained in:
Emmanuel Gil Peyrot 2018-12-20 17:49:36 +01:00
parent fa0894daa0
commit 9c8da4a063

View file

@ -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