From 43e2734a19c9d5fc349e8cf228188ef3ebc57768 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 | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1580283f..f8c45165 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,25 +1,17 @@ stages: - - builds - - tests + - build_and_tests - clippy - fmt before_script: - export PATH="$HOME/.cargo/bin:$PATH" -build:stable: - stage: builds - tags: - - redshift-rs-stable - script: - - cargo build --all-features - -tests:stable: +build_and_tests:stable: stage: tests tags: - redshift-rs-stable script: - - cargo test + - cargo test --all-features build_and_tests:beta: stage: tests @@ -27,7 +19,7 @@ build_and_tests:beta: - redshift-rs-beta script: - rustup update - - cargo test + - cargo test --all-features when: manual allow_failure: true @@ -37,7 +29,7 @@ build_and_tests:nightly: tags: - redshift-rs-nightly script: - - cargo test + - cargo test --all-features when: manual allow_failure: true -- GitLab