Restrict CI jobs by branch/schedule

pull/76/head
Jakub Matys 2018-10-16 12:55:57 +02:00
parent acae88fcdc
commit 423d4721c0
1 changed files with 6 additions and 0 deletions

View File

@ -4,18 +4,24 @@ stages:
build:
stage: build
only:
- master
tags:
- blockbook
script: make build
unit-test:
stage: test
only:
- master
tags:
- blockbook
script: make test
integration-test:
stage: test
only:
- schedules
tags:
- blockbook
script: make test-integration ARGS="-run='TestIntegration/(bcash|bgold|bitcoin|dash|dogecoin|litecoin|vertcoin|zcash)=main/'"