Do build and test in one image
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c770da4d12
commit
5141df3878
10
.drone.yml
10
.drone.yml
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user