diff options
author | Andinus <andinus@nand.sh> | 2020-03-27 12:46:17 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2020-03-27 12:49:35 +0530 |
commit | 22997575f6b56ed7cce48adcd24a36a811fab7bc (patch) | |
tree | 0e9c1e94bd51ae5ef93feea01d089ecf84e2cd67 /build/ci | |
parent | 87832fb2dd6b86494ae79c7a4f5f05db14dd3c4d (diff) | |
download | perseus-22997575f6b56ed7cce48adcd24a36a811fab7bc.tar.gz |
Add go vet in ci testing
Diffstat (limited to 'build/ci')
-rw-r--r-- | build/ci/drone.yml | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/build/ci/drone.yml b/build/ci/drone.yml index 1888778..6fc9070 100644 --- a/build/ci/drone.yml +++ b/build/ci/drone.yml @@ -1,8 +1,13 @@ --- kind: pipeline -name: go-test +name: testing steps: +- name: vet + image: golang:1.13 + commands: + - go vet ./... + - name: test image: golang:1.13 commands: @@ -10,10 +15,10 @@ steps: --- kind: pipeline -name: go-build +name: build steps: -- name: build-obsd +- name: openbsd-amd64 image: golang:1.13 environment: GOARCH: amd64 @@ -21,7 +26,7 @@ steps: commands: - go build ./cmd/perseus -- name: build-linux +- name: linux-amd64 image: golang:1.13 environment: GOARCH: amd64 @@ -29,7 +34,7 @@ steps: commands: - go build ./cmd/perseus -- name: build-darwin +- name: darwin-amd64 image: golang:1.13 environment: GOARCH: amd64 |