From 9c8da4a06329d72cd109f13bc5f11ae4bfded0f9 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Thu, 20 Dec 2018 17:49:36 +0100 Subject: [PATCH] Use a working CI script, and test on both stable and nightly. --- .gitlab-ci.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index de843e59..0b4e77f0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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