summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: be7150510258059c25fce23eefbf3b8c2cd718cf (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}
    - make get
    - make test
    - make build
  tags:
    - linux
  artifacts:
    paths:
      - 'bitmask-systray'
    expire_in: 1 month