From 3c77b9c4b72350f25e61431c8b101bd9948a455a Mon Sep 17 00:00:00 2001 From: Andinus Date: Thu, 26 Mar 2020 15:38:09 +0530 Subject: Seperate go test pipeline --- build/ci/drone.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'build') diff --git a/build/ci/drone.yml b/build/ci/drone.yml index 3ab75ba..a169270 100644 --- a/build/ci/drone.yml +++ b/build/ci/drone.yml @@ -1,6 +1,16 @@ --- kind: pipeline -name: go-1-13 +name: go-test + +steps: +- name: test + image: golang:1.13 + commands: + - go test -v ./... + +--- +kind: pipeline +name: go-build steps: - name: build-obsd @@ -9,7 +19,6 @@ steps: GOARCH: amd64 GOOS: openbsd commands: - - go test -v ./... - go build ./cmd/cetus - name: build-linux @@ -18,7 +27,6 @@ steps: GOARCH: amd64 GOOS: linux commands: - - go test -v ./... - go build ./cmd/cetus - name: build-darwin @@ -27,5 +35,4 @@ steps: GOARCH: amd64 GOOS: darwin commands: - - go test -v ./... - go build ./cmd/cetus -- cgit 1.4.1-2-gfad0