From 7a78c78abb16c0e0a909304676b9c4fc52302a40 Mon Sep 17 00:00:00 2001 From: librelois <elois@ifee.fr> Date: Sun, 1 Apr 2018 23:07:47 +0200 Subject: [PATCH] [fix] #51 congregate Stable Build and Stable Tests in same job --- .gitlab-ci.yml | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1580283f..d2980653 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,43 +1,35 @@ stages: - - builds - - tests + - build_and_tests - clippy - fmt before_script: - export PATH="$HOME/.cargo/bin:$PATH" -build:stable: - stage: builds +build_and_tests:stable: + stage: build_and_tests tags: - redshift-rs-stable script: - - cargo build --all-features - -tests:stable: - stage: tests - tags: - - redshift-rs-stable - script: - - cargo test + - cargo test --all-features build_and_tests:beta: - stage: tests + stage: build_and_tests tags: - redshift-rs-beta script: - rustup update - - cargo test + - cargo test --all-features when: manual allow_failure: true build_and_tests:nightly: - stage: tests + stage: tebuild_and_testssts image: rustlang/rust:nightly tags: - redshift-rs-nightly script: - - cargo test + - cargo test --all-features when: manual allow_failure: true -- GitLab