diff options
-rw-r--r-- | .gitlab-ci.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..c32973d --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,25 @@ +--- +stages: + - build + +variables: + GOPATH: /go + APP_PATH: /go/src/0xacab.org/leap/bitmask-systray + +build_test: + image: 0xacab.org:4567/leap/bitmask-dev:latest + stage: build + script: + - apt-get -y install libappindicator3-dev libgtk-3-dev libzmq3-dev golang + - mkdir -p /go/src/0xacab.org/leap/ + - ln -s "$(pwd)" ${APP_PATH} + - cd ${APP_PATH} + - go get . + - go test ./... + - go build + tags: + - linux + artifacts: + paths: + - 'bitmask-systray' + expire_in: 1 month |