Do build and test in one image

This commit is contained in:
Ian Fijolek
2019-11-21 15:38:29 -08:00
parent c770da4d12
commit 5141df3878
+1 -9
View File
@@ -3,19 +3,11 @@ kind: pipeline
name: test name: test
steps: steps:
- name: download modules
image: golang:1.12
commands:
- go mod download
- name: build
image: golang:1.12
commands:
- make build
- name: test - name: test
image: golang:1.12 image: golang:1.12
commands: commands:
- make build
- make test - make test
- name: check - name: check