diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-01-14 03:32:25 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-01-14 03:34:11 +0300 |
commit | 6e65163c794184b868d761e3ed62a54f5e343df7 (patch) | |
tree | ffbe893b2443a911a171768c56af9ec1b47768a3 | |
parent | 0d5745308da263d7553bef7ad577e8d06d99f2d2 (diff) |
Add stages and empty publish jobvtest-1
-rw-r--r-- | .gitlab-ci.yml | 14 |
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 |