1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 09:28:13 +00:00

ci: define dependencies in core tests

to skip artifacts that are not needed
This commit is contained in:
Tomas Susanka 2019-04-26 16:23:41 +02:00
parent 48abff67df
commit 34fa641a9b

View File

@ -107,18 +107,24 @@ build legacy emu:
test core unix unit: test core unix unit:
stage: test stage: test
dependencies:
- build core unix
script: script:
- cd core - cd core
- pipenv run make test - pipenv run make test
test core unix device: test core unix device:
stage: test stage: test
dependencies:
- build core unix
script: script:
- cd core - cd core
- pipenv run make test_emu - pipenv run make test_emu
test core unix monero: test core unix monero:
stage: test stage: test
dependencies:
- build core unix
script: script:
- cd core - cd core
- pipenv run make test_emu_monero - pipenv run make test_emu_monero
@ -127,10 +133,10 @@ test core unix monero:
# TODO: aren't some tests from .travis.yml missing? # TODO: aren't some tests from .travis.yml missing?
test legacy emu: test legacy emu:
stage: test stage: test
variables:
EMULATOR: "1"
dependencies: dependencies:
- build legacy emu - build legacy emu
variables:
EMULATOR: "1"
script: script:
- cd legacy - cd legacy
- pipenv run script/test - pipenv run script/test