This commit is contained in:
2019-12-22 01:17:18 +05:00
parent da4bc379d8
commit a52b18ffe4
31 changed files with 202 additions and 82 deletions

View File

@@ -20,14 +20,18 @@ steps:
CGO_ENABLED: 0
commands:
- golangci-lint run
depends_on:
- notify-start
- name: test
image: golang:1.13.1-alpine
image: golang:1.13.5-alpine
environment:
GOFLAGS: -mod=vendor
CGO_ENABLED: 0
commands:
- go test ./...
depends_on:
- notify-start
- name: docker
image: plugins/docker
@@ -40,6 +44,9 @@ steps:
from_secret: dockerhub_password
repo: pztrn/fastpastebin
auto_tag: true
depends_on:
- lint
- test
- name: notify-end
when:
@@ -58,3 +65,5 @@ steps:
{{ else }}
**{{repo.name}}#{{build.number}}@{{build.commit}}** failed. See {{build.link}}.
{{/success}}"
depends_on:
- docker