From 8f0f6e4aed128a5039747968e394ff093a8b88a3 Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Thu, 25 Apr 2019 15:53:13 +0200 Subject: [PATCH] ci: do not define dependencies; skip them if artifacts are not needed Artifacts are passed on by default, so we do not have to define them in 'dependencies' when we need them. On the contrary, we define them in case we do not need them. --- .gitlab-ci.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 83719a924..af0f6ca28 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -77,36 +77,32 @@ build legacy: test style: stage: test + dependencies: [] # no need to download artifacts script: - pipenv run make style_check - cd core && pipenv run make templates_check # TODO test core unix unit: stage: test - dependencies: - - build core unix script: - cd core - pipenv run make test test core unix device: stage: test - dependencies: - - build core unix script: - cd core - pipenv run make test_emu test core unix monero: stage: test - dependencies: - - build core unix script: - cd core - pipenv run make test_emu_monero test common: stage: test + dependencies: [] # no need to download artifacts script: - cd common - pipenv run jsonlint defs/*.json @@ -118,6 +114,7 @@ test common: test crypto: stage: test + dependencies: [] # no need to download artifacts script: - cd crypto - pipenv run make