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

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.
This commit is contained in:
Tomas Susanka 2019-04-25 15:53:13 +02:00
parent 0b9f4654bd
commit 8f0f6e4aed

View File

@ -77,36 +77,32 @@ build legacy:
test style: test style:
stage: test stage: test
dependencies: [] # no need to download artifacts
script: script:
- pipenv run make style_check - pipenv run make style_check
- cd core && pipenv run make templates_check # TODO - cd core && pipenv run make templates_check # TODO
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
test common: test common:
stage: test stage: test
dependencies: [] # no need to download artifacts
script: script:
- cd common - cd common
- pipenv run jsonlint defs/*.json - pipenv run jsonlint defs/*.json
@ -118,6 +114,7 @@ test common:
test crypto: test crypto:
stage: test stage: test
dependencies: [] # no need to download artifacts
script: script:
- cd crypto - cd crypto
- pipenv run make - pipenv run make