1
0
Fork 0

Add drone ci config

This commit is contained in:
Andinus 2020-04-09 02:44:57 +05:30
parent 72b3740cd3
commit d5b95cbec7
Signed by: andinus
GPG Key ID: B67D55D482A799FD
1 changed files with 43 additions and 0 deletions

43
build/ci/drone.yml Normal file
View File

@ -0,0 +1,43 @@
---
kind: pipeline
name: testing
steps:
- name: vet
image: golang:1.13
commands:
- go vet ./...
- name: test
image: golang:1.13
commands:
- go test -v ./...
---
kind: pipeline
name: build
steps:
- name: openbsd-amd64
image: golang:1.13
environment:
GOARCH: amd64
GOOS: openbsd
commands:
- go build
- name: linux-amd64
image: golang:1.13
environment:
GOARCH: amd64
GOOS: linux
commands:
- go build
- name: darwin-amd64
image: golang:1.13
environment:
GOARCH: amd64
GOOS: darwin
commands:
- go build