|
|
@ -3,13 +3,28 @@ name: Build
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: Build
|
|
|
|
- name: Build
|
|
|
|
image: golang:1.12
|
|
|
|
image: golang:1.12
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
|
|
|
- name: deps
|
|
|
|
|
|
|
|
path: /go
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- go build .
|
|
|
|
- go build .
|
|
|
|
|
|
|
|
|
|
|
|
- name: Unit Tests
|
|
|
|
- name: Unit Tests
|
|
|
|
image: golang:1.12
|
|
|
|
image: golang:1.12
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
|
|
|
- name: deps
|
|
|
|
|
|
|
|
path: /go
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- go test -tag=unit .
|
|
|
|
- go test -tag=unit .
|
|
|
|
|
|
|
|
|
|
|
|
- name: Integration Tests
|
|
|
|
- name: Integration Tests
|
|
|
|
image: golang:1.12
|
|
|
|
image: golang:1.12
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
|
|
|
- name: deps
|
|
|
|
|
|
|
|
path: /go
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- go test -tag=integration .
|
|
|
|
- go test -tag=integration .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
|
|
|
|
- name: deps
|
|
|
|
|
|
|
|
temp: {}
|
|
|
|