git: run pipeline only on master and merge requests

This commit is contained in:
Bixilon 2021-12-08 17:02:37 +01:00
parent 5a0cb2e4ce
commit 158bb39a85
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4

View File

@ -13,5 +13,8 @@ stages:
build:
stage: build
only:
- master
- merge_requests
script:
- 'mvn $MAVEN_CLI_OPTS verify'
- 'mvn $MAVEN_CLI_OPTS compile'