summary refs log tree commit diff stats
path: root/build
diff options
context:
space:
mode:
authorAndinus <andinus@inventati.org>2020-03-15 00:56:06 +0530
committerAndinus <andinus@inventati.org>2020-03-15 00:58:10 +0530
commitdb915781b735407de7271bc7d30e8d21358ab747 (patch)
tree8793827f83c6fe7c5d52618c00dec0be3ffd9e05 /build
parent7552361f907a1439a5b47d5adbc113fb57a818c7 (diff)
downloadcetus-db915781b735407de7271bc7d30e8d21358ab747.tar.gz
Run gitlab-cli on push to master & merge requests
Diffstat (limited to 'build')
-rw-r--r--build/ci/gitlab-ci.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/build/ci/gitlab-ci.yml b/build/ci/gitlab-ci.yml
index 47cbabe..277222b 100644
--- a/build/ci/gitlab-ci.yml
+++ b/build/ci/gitlab-ci.yml
@@ -15,9 +15,12 @@ stages:
 compile:
     stage: build
     only:
-      - tags
-      - triggers
-      - schedules
+      refs:
+        - web
+        - tags
+        - master
+        - schedules
+        - merge_requests
     script:
       - cd $GOPATH/src/$REPO_NAME/cmd/cetus-nasa
       - GOOS=openbsd GOARCH=amd64 go build -o $CI_PROJECT_DIR/cetus-nasa-openbsd-amd64