summary refs log blame commit diff stats
path: root/build/ci/drone.yml
blob: fc809dd882ee0d91bd20a237e8eabb256361b7d0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10

              
             

      




                    


                    
                      


              
           

      
                     




                    
              
 
                   




                    
              
 
                    




                    
              
---
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