diff options
author | Andinus <andinus@nand.sh> | 2020-04-02 13:34:56 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2020-04-02 13:34:56 +0530 |
commit | 8dd58b925629cdb99d6293ce7c9953a9b65ccefc (patch) | |
tree | 0aff02629ffe0480822ddd94e46f4aceee3be1f6 /build | |
parent | d0ae6bd6216d3c16aaa1cd6852a88717b266ee62 (diff) | |
download | cetus-8dd58b925629cdb99d6293ce7c9953a9b65ccefc.tar.gz |
Add vet to pipeline v0.6.3
Diffstat (limited to 'build')
-rw-r--r-- | build/ci/drone.yml | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/build/ci/drone.yml b/build/ci/drone.yml index a169270..1248b48 100644 --- a/build/ci/drone.yml +++ b/build/ci/drone.yml @@ -1,38 +1,43 @@ --- kind: pipeline -name: go-test +name: testing steps: +- name: vet + image: golang:1.13 + commands: + - go vet ./... + - name: test image: golang:1.13 commands: - - go test -v ./... + - go test -v ./... --- kind: pipeline -name: go-build +name: build steps: -- name: build-obsd +- name: openbsd-amd64 image: golang:1.13 environment: GOARCH: amd64 GOOS: openbsd commands: - - go build ./cmd/cetus + - go build ./cmd/cetus -- name: build-linux +- name: linux-amd64 image: golang:1.13 environment: GOARCH: amd64 GOOS: linux commands: - - go build ./cmd/cetus + - go build ./cmd/cetus -- name: build-darwin +- name: darwin-amd64 image: golang:1.13 environment: GOARCH: amd64 GOOS: darwin commands: - - go build ./cmd/cetus + - go build ./cmd/cetus |