summary refs log tree commit diff stats
path: root/build/ci/drone.yml
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-03-26 15:38:09 +0530
committerAndinus <andinus@nand.sh>2020-03-26 15:38:09 +0530
commit3c77b9c4b72350f25e61431c8b101bd9948a455a (patch)
treec4ded31add240b2a056d4b44c6ee14df054f5324 /build/ci/drone.yml
parent79bad7258fb6f6b1ffd4b4bb378fefe513de7062 (diff)
downloadcetus-3c77b9c4b72350f25e61431c8b101bd9948a455a.tar.gz
Seperate go test pipeline
Diffstat (limited to 'build/ci/drone.yml')
-rw-r--r--build/ci/drone.yml15
1 files changed, 11 insertions, 4 deletions
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