Welcome to mirror list, hosted at ThFree Co, Russian Federation.

.gitlab-ci.yml - gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bf2f8e627da94a30e834c9ffc18c55ffbfeac465 (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
27
28
29
30
31
32
33
image: golang:1.7

stages:
  - test
  - package
  - publish

test:
  script:
    - make
    - make test

package:
  only: 
    - tags
  script:
    - apt-get update -qq
    - apt-get install -qq -y rubygems ruby2.1 bundler
    - GOOS=linux GOARCH=amd64 make clean package
    - dpkg -e *.deb
    - cat DEBIAN/control
    - cat DEBIAN/md5sums
    - rm -rf DEBIAN
  artifacts:
    paths:
      - ./*.deb

publish:
  only:
    - tags
  script:
    - ls -lh *.deb
    - shasum -a256 *.deb