github.com/drone/drone-cache-lib@v0.0.0-20200806063744-981868645a25/.drone.yml (about) 1 --- 2 kind: pipeline 3 name: testing 4 5 platform: 6 os: linux 7 arch: amd64 8 9 steps: 10 - name: vet 11 image: golang:1.12 12 commands: 13 - go vet ./... 14 volumes: 15 - name: gopath 16 path: /go 17 18 - name: test 19 image: golang:1.12 20 commands: 21 - go test -cover ./... 22 volumes: 23 - name: gopath 24 path: /go 25 26 volumes: 27 - name: gopath 28 temp: {} 29 30 trigger: 31 ref: 32 - refs/heads/master 33 - refs/tags/** 34 - refs/pull/**