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

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d373a31ae..bf2f8e627 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,11 +1,18 @@
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
@@ -17,3 +24,10 @@ package:
artifacts:
paths:
- ./*.deb
+
+publish:
+ only:
+ - tags
+ script:
+ - ls -lh *.deb
+ - shasum -a256 *.deb