summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2018-02-13 17:47:13 +0100
committerRuben Pollan <meskio@sindominio.net>2018-03-20 10:29:27 +0100
commit1ff84d8bf9bf40f5b2e45cec31a82bd88fb757f6 (patch)
tree1c96f9b26d24e829cc90fe466567ad207037d2bb
parent1e3491ea2cac285fb393a27de5f6d7407e42981c (diff)
[test] add CI support
- Resolves: #13
-rw-r--r--.gitlab-ci.yml25
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