From 423d4721c07b10deda760201ab04f9dafe8e005f Mon Sep 17 00:00:00 2001 From: Jakub Matys Date: Tue, 16 Oct 2018 12:55:57 +0200 Subject: [PATCH] Restrict CI jobs by branch/schedule --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fe2b77c3..9cefeef3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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/'"