summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 9da446bf6770fedcfd16d91b4e0573419146522e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---
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 update
    - 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