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: build:
stage: build stage: build
only:
- master
tags: tags:
- blockbook - blockbook
script: make build script: make build
unit-test: unit-test:
stage: test stage: test
only:
- master
tags: tags:
- blockbook - blockbook
script: make test script: make test
integration-test: integration-test:
stage: test stage: test
only:
- schedules
tags: tags:
- blockbook - blockbook
script: make test-integration ARGS="-run='TestIntegration/(bcash|bgold|bitcoin|dash|dogecoin|litecoin|vertcoin|zcash)=main/'" script: make test-integration ARGS="-run='TestIntegration/(bcash|bgold|bitcoin|dash|dogecoin|litecoin|vertcoin|zcash)=main/'"