summary refs log tree commit diff stats
path: root/build/ci/drone.yml
blob: fc809dd882ee0d91bd20a237e8eabb256361b7d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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