diff options
author | Andinus <andinus@inventati.org> | 2020-03-15 00:56:06 +0530 |
---|---|---|
committer | Andinus <andinus@inventati.org> | 2020-03-15 00:58:10 +0530 |
commit | db915781b735407de7271bc7d30e8d21358ab747 (patch) | |
tree | 8793827f83c6fe7c5d52618c00dec0be3ffd9e05 /build/ci/gitlab-ci.yml | |
parent | 7552361f907a1439a5b47d5adbc113fb57a818c7 (diff) | |
download | cetus-db915781b735407de7271bc7d30e8d21358ab747.tar.gz |
Run gitlab-cli on push to master & merge requests
Diffstat (limited to 'build/ci/gitlab-ci.yml')
-rw-r--r-- | build/ci/gitlab-ci.yml | 9 |
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 |