|
|
|
@ -10,7 +10,7 @@ clone: |
|
|
|
|
|
|
|
|
|
pipeline: |
|
|
|
|
deps: |
|
|
|
|
image: golang:1.10 |
|
|
|
|
image: golang:1.11.5 |
|
|
|
|
pull: true |
|
|
|
|
environment: |
|
|
|
|
GOPATH: /go |
|
|
|
@ -18,14 +18,22 @@ pipeline: |
|
|
|
|
- go get -u github.com/golang/dep/cmd/dep |
|
|
|
|
- dep ensure |
|
|
|
|
test: |
|
|
|
|
image: golang:1.10 |
|
|
|
|
image: golang:1.11.5 |
|
|
|
|
pull: true |
|
|
|
|
environment: |
|
|
|
|
GOPATH: /go |
|
|
|
|
commands: |
|
|
|
|
- make test |
|
|
|
|
- make test build |
|
|
|
|
coverage: |
|
|
|
|
image: golang:1.11.5 |
|
|
|
|
pull: true |
|
|
|
|
environment: |
|
|
|
|
GOPATH: /go |
|
|
|
|
secrets: [ coveralls_token ] |
|
|
|
|
commands: |
|
|
|
|
- make coverage |
|
|
|
|
static: |
|
|
|
|
image: golang:1.10 |
|
|
|
|
image: golang:1.11.5 |
|
|
|
|
pull: true |
|
|
|
|
environment: |
|
|
|
|
GOPATH: /go |
|
|
|
@ -35,7 +43,7 @@ pipeline: |
|
|
|
|
event: [ push ] |
|
|
|
|
branch: [ master ] |
|
|
|
|
static: |
|
|
|
|
image: golang:1.10 |
|
|
|
|
image: golang:1.11.5 |
|
|
|
|
pull: true |
|
|
|
|
environment: |
|
|
|
|
GOPATH: /go |
|
|
|
@ -97,4 +105,5 @@ pipeline: |
|
|
|
|
services: |
|
|
|
|
gitea: |
|
|
|
|
image: jonasfranz/gitea-service |
|
|
|
|
pull: true |
|
|
|
|
pull: true |
|
|
|
|
|
|
|
|
|