GitlabCI add rules to trigger pipeline on merge requests

This commit is contained in:
Gioacchino Mazzurco 2020-04-07 20:42:37 +02:00
parent 31424cd2f0
commit 463d46a26f
No known key found for this signature in database
GPG key ID: A1FBCA3872E87051

View file

@ -3,9 +3,10 @@ image: docker:stable
services: services:
- docker:stable-dind - docker:stable-dind
stages: workflow:
- build rules:
- test - if: $CI_MERGE_REQUEST_ID
- if: $CI_COMMIT_BRANCH
build-and-test: build-and-test:
script: script: