From 34fa641a9bb873ffb72ebabbb57e4e5e94d25999 Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Fri, 26 Apr 2019 16:23:41 +0200 Subject: [PATCH] ci: define dependencies in core tests to skip artifacts that are not needed --- .gitlab-ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5c62f5025..962ca9459 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -107,18 +107,24 @@ build legacy emu: 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 @@ -127,10 +133,10 @@ test core unix monero: # TODO: aren't some tests from .travis.yml missing? test legacy emu: stage: test - variables: - EMULATOR: "1" dependencies: - build legacy emu + variables: + EMULATOR: "1" script: - cd legacy - pipenv run script/test